Class PlayerEntityInteractionTrigger
java.lang.Object
net.minecraft.advancements.criterion.AbstractCriterionTrigger<PlayerEntityInteractionTrigger.Instance>
net.minecraft.advancements.criterion.PlayerEntityInteractionTrigger
- All Implemented Interfaces:
ICriterionTrigger<PlayerEntityInteractionTrigger.Instance>
public class PlayerEntityInteractionTrigger
extends AbstractCriterionTrigger<PlayerEntityInteractionTrigger.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 TypeMethodDescriptionprotected PlayerEntityInteractionTrigger.Instance
createInstance
(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) getId()
void
trigger
(ServerPlayerEntity p_241476_1_, ItemStack p_241476_2_, Entity p_241476_3_) Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
PlayerEntityInteractionTrigger
public PlayerEntityInteractionTrigger()
-
-
Method Details
-
getId
-
createInstance
protected PlayerEntityInteractionTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) - Specified by:
createInstance
in classAbstractCriterionTrigger<PlayerEntityInteractionTrigger.Instance>
-
trigger
-