Class DistanceTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<DistanceTrigger.TriggerInstance>
net.minecraft.advancements.critereon.DistanceTrigger
- All Implemented Interfaces:
CriterionTrigger<DistanceTrigger.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_186174_, EntityPredicate.Composite p_186175_, DeserializationContext p_186176_) getId()
void
trigger
(ServerPlayer p_186166_, Vec3 p_186167_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
id
-
-
Constructor Details
-
DistanceTrigger
-
-
Method Details
-
getId
-
createInstance
public DistanceTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_186174_, EntityPredicate.Composite p_186175_, DeserializationContext p_186176_) - Specified by:
createInstance
in classSimpleCriterionTrigger<DistanceTrigger.TriggerInstance>
-
trigger
-