Class NetherTravelCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.NetherTravelCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- NetherTravelCriterion
- Mappings:
Namespace Name official ck$a
intermediary net/minecraft/class_2108$class_2110
named net/minecraft/advancement/criterion/NetherTravelCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DistancePredicate
private final LocationPredicate
private final LocationPredicate
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, LocationPredicate enteredPos, LocationPredicate exitedPos, DistancePredicate distance) -
Method Summary
Modifier and TypeMethodDescriptiondistance
(DistancePredicate distance) boolean
matches
(ServerWorld world, Vec3d enteredPos, double exitedPosX, double exitedPosY, double exitedPosZ) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
enteredPos
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a:Lce;
intermediary field_9721
Lnet/minecraft/class_2108$class_2110;field_9721:Lnet/minecraft/class_2090;
named enteredPos
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;enteredPos:Lnet/minecraft/predicate/entity/LocationPredicate;
-
exitedPos
- Mappings:
Namespace Name Mixin selector official b
Lck$a;b:Lce;
intermediary field_9722
Lnet/minecraft/class_2108$class_2110;field_9722:Lnet/minecraft/class_2090;
named exitedPos
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;exitedPos:Lnet/minecraft/predicate/entity/LocationPredicate;
-
distance
- Mappings:
Namespace Name Mixin selector official c
Lck$a;c:Lbe;
intermediary field_9723
Lnet/minecraft/class_2108$class_2110;field_9723:Lnet/minecraft/class_2025;
named distance
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;distance:Lnet/minecraft/predicate/entity/DistancePredicate;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, LocationPredicate enteredPos, LocationPredicate exitedPos, DistancePredicate distance) - Mappings:
Namespace Name Mixin selector official <init>
Lck$a;<init>(Lbm$b;Lce;Lce;Lbe;)V
intermediary <init>
Lnet/minecraft/class_2108$class_2110;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2090;Lnet/minecraft/class_2090;Lnet/minecraft/class_2025;)V
named <init>
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/DistancePredicate;)V
-
-
Method Details
-
distance
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a(Lbe;)Lck$a;
intermediary method_9085
Lnet/minecraft/class_2108$class_2110;method_9085(Lnet/minecraft/class_2025;)Lnet/minecraft/class_2108$class_2110;
named distance
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;distance(Lnet/minecraft/predicate/entity/DistancePredicate;)Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;
-
matches
public boolean matches(ServerWorld world, Vec3d enteredPos, double exitedPosX, double exitedPosY, double exitedPosZ) - Mappings:
Namespace Name Mixin selector official a
Lck$a;a(Labr;Ldna;DDD)Z
intermediary method_9086
Lnet/minecraft/class_2108$class_2110;method_9086(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;DDD)Z
named matches
Lnet/minecraft/advancement/criterion/NetherTravelCriterion$Conditions;matches(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;DDD)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lcq;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-