Class PickedUpItemTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PickedUpItemTrigger.TriggerInstance>
net.minecraft.advancements.critereon.PickedUpItemTrigger
- All Implemented Interfaces:
CriterionTrigger<PickedUpItemTrigger.TriggerInstance>
public class PickedUpItemTrigger
extends SimpleCriterionTrigger<PickedUpItemTrigger.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 TypeMethodDescriptionprotected PickedUpItemTrigger.TriggerInstance
createInstance
(com.google.gson.JsonObject p_221308_, EntityPredicate.Composite p_221309_, DeserializationContext p_221310_) getId()
void
trigger
(ServerPlayer p_221299_, ItemStack p_221300_, Entity p_221301_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
id
-
-
Constructor Details
-
PickedUpItemTrigger
-
-
Method Details
-
getId
-
createInstance
protected PickedUpItemTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_221308_, EntityPredicate.Composite p_221309_, DeserializationContext p_221310_) - Specified by:
createInstance
in classSimpleCriterionTrigger<PickedUpItemTrigger.TriggerInstance>
-
trigger
-