Class ItemUsedOnLocationTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ItemUsedOnLocationTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger
- All Implemented Interfaces:
CriterionTrigger<ItemUsedOnLocationTrigger.TriggerInstance>
public class ItemUsedOnLocationTrigger
extends SimpleCriterionTrigger<ItemUsedOnLocationTrigger.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
<ItemUsedOnLocationTrigger.TriggerInstance> codec()
void
trigger
(ServerPlayer p_286813_, BlockPos p_286625_, ItemStack p_286620_) 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
-
ItemUsedOnLocationTrigger
public ItemUsedOnLocationTrigger()
-
-
Method Details
-
codec
-
trigger
-