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 aq
intermediary net/minecraft/class_1999
named net/minecraft/advancement/criterion/ChangedDimensionCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangedDimensionCriterion.Conditions
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ID
-
Constructor Summary
Constructors Constructor Description ChangedDimensionCriterion()
-
Method Summary
Modifier and Type Method Description ChangedDimensionCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
Identifier
getId()
void
trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Laq;a:Lwb;
intermediary field_9493
Lnet/minecraft/class_1999;field_9493:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ChangedDimensionCriterion
public ChangedDimensionCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Laf;a()Lwb;
intermediary method_794
Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
-
conditionsFromJson
public ChangedDimensionCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<ChangedDimensionCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Laq;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Laq$a;
intermediary method_8793
Lnet/minecraft/class_1999;method_8793(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_1999$class_2001;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Laq;a(Laaw;Lwa;Lwa;)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/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;)V
-