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 class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<PickedUpItemTrigger.TriggerInstance> codec()
void
trigger
(ServerPlayer p_221299_, ItemStack p_221300_, Entity p_221301_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
PickedUpItemTrigger
public PickedUpItemTrigger()
-
-
Method Details
-
codec
-
trigger
-