Class ChangeDimensionTrigger
- java.lang.Object
-
- net.minecraft.advancements.criterion.AbstractCriterionTrigger<ChangeDimensionTrigger.Instance>
-
- net.minecraft.advancements.criterion.ChangeDimensionTrigger
-
- All Implemented Interfaces:
ICriterionTrigger<ChangeDimensionTrigger.Instance>
public class ChangeDimensionTrigger extends AbstractCriterionTrigger<ChangeDimensionTrigger.Instance>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeDimensionTrigger.Instance
-
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
ID
-
Constructor Summary
Constructors Constructor Description ChangeDimensionTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeDimensionTrigger.Instance
createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_)
ResourceLocation
getId()
void
trigger(ServerPlayerEntity p_233551_1_, RegistryKey<World> p_233551_2_, RegistryKey<World> p_233551_3_)
-
Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
-
-
-
Field Detail
-
ID
private static final ResourceLocation ID
-
-
Method Detail
-
getId
public ResourceLocation getId()
-
createInstance
public ChangeDimensionTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_)
- Specified by:
createInstance
in classAbstractCriterionTrigger<ChangeDimensionTrigger.Instance>
-
trigger
public void trigger(ServerPlayerEntity p_233551_1_, RegistryKey<World> p_233551_2_, RegistryKey<World> p_233551_3_)
-
-