Class ChangedDimensionCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<ChangedDimensionCriterion.Conditions>
net.minecraft.advancement.criterion.ChangedDimensionCriterion
- All Implemented Interfaces:
Criterion<ChangedDimensionCriterion.Conditions>
public class ChangedDimensionCriterion
extends AbstractCriterion<ChangedDimensionCriterion.Conditions>
- Mappings:
Namespace Name official ay
intermediary net/minecraft/class_1999
named net/minecraft/advancement/criterion/ChangedDimensionCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) void
trigger
(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
ChangedDimensionCriterion
public ChangedDimensionCriterion()
-
-
Method Details
-
conditionsFromJson
public ChangedDimensionCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<ChangedDimensionCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lay;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lay$a;
intermediary method_8793
Lnet/minecraft/class_1999;method_8793(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_1999$class_2001;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lay;a(Lakr;Laev;Laev;)V
intermediary method_8794
Lnet/minecraft/class_1999;method_8794(Lnet/minecraft/class_3222;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)V
named trigger
Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)V
-