Class ItemPickedUpByEntityTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ItemPickedUpByEntityTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ItemPickedUpByEntityTrigger
- All Implemented Interfaces:
CriterionTrigger<ItemPickedUpByEntityTrigger.TriggerInstance>
public class ItemPickedUpByEntityTrigger
extends SimpleCriterionTrigger<ItemPickedUpByEntityTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_44373_, EntityPredicate.Composite p_44374_, DeserializationContext p_44375_)
getId()
void
trigger(ServerPlayer p_44364_, ItemStack p_44365_, Entity p_44366_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
ItemPickedUpByEntityTrigger
public ItemPickedUpByEntityTrigger()
-
-
Method Details
-
getId
-
createInstance
protected ItemPickedUpByEntityTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_44373_, EntityPredicate.Composite p_44374_, DeserializationContext p_44375_)- Specified by:
createInstance
in classSimpleCriterionTrigger<ItemPickedUpByEntityTrigger.TriggerInstance>
-
trigger
-