Class ChangeDimensionTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.ChangeDimensionTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- ChangeDimensionTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
private final RegistryKey<World>
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231488_1_, RegistryKey<World> p_i231488_2_, RegistryKey<World> p_i231488_3_) -
Method Summary
Modifier and TypeMethodDescriptionchangedDimensionTo
(RegistryKey<World> p_233552_0_) boolean
matches
(RegistryKey<World> p_233553_1_, RegistryKey<World> p_233553_2_) com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
from
-
to
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231488_1_, @Nullable RegistryKey<World> p_i231488_2_, @Nullable RegistryKey<World> p_i231488_3_)
-
-
Method Details
-
changedDimensionTo
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-