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