Class ItemInteractWithBlockTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ItemInteractWithBlockTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ItemInteractWithBlockTrigger
- All Implemented Interfaces:
CriterionTrigger<ItemInteractWithBlockTrigger.TriggerInstance>
public class ItemInteractWithBlockTrigger
extends SimpleCriterionTrigger<ItemInteractWithBlockTrigger.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_220045_, EntityPredicate.Composite p_220046_, DeserializationContext p_220047_) getId()
void
trigger
(ServerPlayer p_220041_, BlockPos p_220042_, ItemStack p_220043_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
id
-
-
Constructor Details
-
ItemInteractWithBlockTrigger
-
-
Method Details
-
getId
-
createInstance
public ItemInteractWithBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_220045_, EntityPredicate.Composite p_220046_, DeserializationContext p_220047_) - Specified by:
createInstance
in classSimpleCriterionTrigger<ItemInteractWithBlockTrigger.TriggerInstance>
-
trigger
-