Class LevitationCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.LevitationCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
LevitationCriterion
- Mappings:
Namespace Name official cd$a
intermediary net/minecraft/class_2085$class_2087
named net/minecraft/advancement/criterion/LevitationCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DistancePredicate
private final NumberRange.IntRange
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, DistancePredicate distance, NumberRange.IntRange duration) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(DistancePredicate distance) boolean
matches
(ServerPlayerEntity player, Vec3d startPos, int duration) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
distance
- Mappings:
Namespace Name Mixin selector official a
Lcd$a;a:Lbf;
intermediary field_9675
Lnet/minecraft/class_2085$class_2087;field_9675:Lnet/minecraft/class_2025;
named distance
Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;distance:Lnet/minecraft/predicate/entity/DistancePredicate;
-
duration
- Mappings:
Namespace Name Mixin selector official b
Lcd$a;b:Lcj$d;
intermediary field_9676
Lnet/minecraft/class_2085$class_2087;field_9676:Lnet/minecraft/class_2096$class_2100;
named duration
Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;duration:Lnet/minecraft/predicate/NumberRange$IntRange;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, DistancePredicate distance, NumberRange.IntRange duration) - Mappings:
Namespace Name Mixin selector official <init>
Lcd$a;<init>(Lbo$b;Lbf;Lcj$d;)V
intermediary <init>
Lnet/minecraft/class_2085$class_2087;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2025;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/DistancePredicate;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcd$a;a(Lbf;)Lcd$a;
intermediary method_9013
Lnet/minecraft/class_2085$class_2087;method_9013(Lnet/minecraft/class_2025;)Lnet/minecraft/class_2085$class_2087;
named create
Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;create(Lnet/minecraft/predicate/entity/DistancePredicate;)Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcd$a;a(Lagh;Ldwq;I)Z
intermediary method_9014
Lnet/minecraft/class_2085$class_2087;method_9014(Lnet/minecraft/class_3222;Lnet/minecraft/class_243;I)Z
named matches
Lnet/minecraft/advancement/criterion/LevitationCriterion$Conditions;matches(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/Vec3d;I)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lan;a(Lct;)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;
-