Class ThrownItemPickedUpByEntityTrigger
java.lang.Object
net.minecraft.advancements.criterion.AbstractCriterionTrigger<ThrownItemPickedUpByEntityTrigger.Instance>
net.minecraft.advancements.criterion.ThrownItemPickedUpByEntityTrigger
- All Implemented Interfaces:
ICriterionTrigger<ThrownItemPickedUpByEntityTrigger.Instance>
public class ThrownItemPickedUpByEntityTrigger
extends AbstractCriterionTrigger<ThrownItemPickedUpByEntityTrigger.Instance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) getId()
void
trigger
(ServerPlayerEntity p_234830_1_, ItemStack p_234830_2_, Entity p_234830_3_) Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
ThrownItemPickedUpByEntityTrigger
public ThrownItemPickedUpByEntityTrigger()
-
-
Method Details
-
getId
-
createInstance
protected ThrownItemPickedUpByEntityTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) - Specified by:
createInstance
in classAbstractCriterionTrigger<ThrownItemPickedUpByEntityTrigger.Instance>
-
trigger
-