Class NetherTravelCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.NetherTravelCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- NetherTravelCriterion
public static class NetherTravelCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official cc$a
intermediary net/minecraft/class_2108$class_2110
named net/minecraft/advancement/criterion/NetherTravelCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private DistancePredicate
distance
private LocationPredicate
enteredPos
private LocationPredicate
exitedPos
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, LocationPredicate enteredPos, LocationPredicate exitedPos, DistancePredicate distance)
-
Method Summary
Modifier and Type Method Description static NetherTravelCriterion.Conditions
distance(DistancePredicate distance)
boolean
matches(ServerWorld world, Vec3d enteredPos, double exitedPosX, double exitedPosY, double exitedPosZ)
JsonObject
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
Lcc$a;a:Lbw;
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
Lcc$a;b:Lbw;
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
Lcc$a;c:Lay;
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>
Lcc$a;<init>(Lbg$b;Lbw;Lbw;Lay;)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
Lcc$a;a(Lay;)Lcc$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
Lcc$a;a(Laav;Ldiu;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
Lag;a(Lci;)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;
-