Class TargetBlockTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<TargetBlockTrigger.TriggerInstance>
net.minecraft.advancements.critereon.TargetBlockTrigger
- All Implemented Interfaces:
CriterionTrigger<TargetBlockTrigger.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_70217_, EntityPredicate.Composite p_70218_, DeserializationContext p_70219_)
getId()
void
trigger(ServerPlayer p_70212_, Entity p_70213_, Vec3 p_70214_, int p_70215_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
TargetBlockTrigger
public TargetBlockTrigger()
-
-
Method Details
-
getId
-
createInstance
public TargetBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_70217_, EntityPredicate.Composite p_70218_, DeserializationContext p_70219_)- Specified by:
createInstance
in classSimpleCriterionTrigger<TargetBlockTrigger.TriggerInstance>
-
trigger
-