Package net.minecraft.predicate.entity
Class DistancePredicate
java.lang.Object
net.minecraft.predicate.entity.DistancePredicate
- Mappings:
Namespace Name official bf
intermediary net/minecraft/class_2025
named net/minecraft/predicate/entity/DistancePredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberRange.FloatRange
static final DistancePredicate
private final NumberRange.FloatRange
private final NumberRange.FloatRange
private final NumberRange.FloatRange
private final NumberRange.FloatRange
-
Constructor Summary
ConstructorDescriptionDistancePredicate
(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, NumberRange.FloatRange horizontal, NumberRange.FloatRange absolute) -
Method Summary
Modifier and TypeMethodDescriptionstatic DistancePredicate
absolute
(NumberRange.FloatRange absolute) static DistancePredicate
fromJson
(@Nullable JsonElement json) static DistancePredicate
horizontal
(NumberRange.FloatRange horizontal) boolean
test
(double x0, double y0, double z0, double x1, double y1, double z1) toJson()
static DistancePredicate
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbf;a:Lbf;
intermediary field_9553
Lnet/minecraft/class_2025;field_9553:Lnet/minecraft/class_2025;
named ANY
Lnet/minecraft/predicate/entity/DistancePredicate;ANY:Lnet/minecraft/predicate/entity/DistancePredicate;
-
x
- Mappings:
Namespace Name Mixin selector official b
Lbf;b:Lcj$c;
intermediary field_9554
Lnet/minecraft/class_2025;field_9554:Lnet/minecraft/class_2096$class_2099;
named x
Lnet/minecraft/predicate/entity/DistancePredicate;x:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
y
- Mappings:
Namespace Name Mixin selector official c
Lbf;c:Lcj$c;
intermediary field_9555
Lnet/minecraft/class_2025;field_9555:Lnet/minecraft/class_2096$class_2099;
named y
Lnet/minecraft/predicate/entity/DistancePredicate;y:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
z
- Mappings:
Namespace Name Mixin selector official d
Lbf;d:Lcj$c;
intermediary field_9552
Lnet/minecraft/class_2025;field_9552:Lnet/minecraft/class_2096$class_2099;
named z
Lnet/minecraft/predicate/entity/DistancePredicate;z:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
horizontal
- Mappings:
Namespace Name Mixin selector official e
Lbf;e:Lcj$c;
intermediary field_9557
Lnet/minecraft/class_2025;field_9557:Lnet/minecraft/class_2096$class_2099;
named horizontal
Lnet/minecraft/predicate/entity/DistancePredicate;horizontal:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
absolute
- Mappings:
Namespace Name Mixin selector official f
Lbf;f:Lcj$c;
intermediary field_9556
Lnet/minecraft/class_2025;field_9556:Lnet/minecraft/class_2096$class_2099;
named absolute
Lnet/minecraft/predicate/entity/DistancePredicate;absolute:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
-
Constructor Details
-
DistancePredicate
public DistancePredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, NumberRange.FloatRange horizontal, NumberRange.FloatRange absolute) - Mappings:
Namespace Name Mixin selector official <init>
Lbf;<init>(Lcj$c;Lcj$c;Lcj$c;Lcj$c;Lcj$c;)V
intermediary <init>
Lnet/minecraft/class_2025;<init>(Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;)V
named <init>
Lnet/minecraft/predicate/entity/DistancePredicate;<init>(Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;)V
-
-
Method Details
-
horizontal
- Mappings:
Namespace Name Mixin selector official a
Lbf;a(Lcj$c;)Lbf;
intermediary method_8860
Lnet/minecraft/class_2025;method_8860(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2025;
named horizontal
Lnet/minecraft/predicate/entity/DistancePredicate;horizontal(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/entity/DistancePredicate;
-
y
- Mappings:
Namespace Name Mixin selector official b
Lbf;b(Lcj$c;)Lbf;
intermediary method_8856
Lnet/minecraft/class_2025;method_8856(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2025;
named y
Lnet/minecraft/predicate/entity/DistancePredicate;y(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/entity/DistancePredicate;
-
absolute
- Mappings:
Namespace Name Mixin selector official c
Lbf;c(Lcj$c;)Lbf;
intermediary method_37223
Lnet/minecraft/class_2025;method_37223(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2025;
named absolute
Lnet/minecraft/predicate/entity/DistancePredicate;absolute(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/entity/DistancePredicate;
-
test
public boolean test(double x0, double y0, double z0, double x1, double y1, double z1) - Mappings:
Namespace Name Mixin selector official a
Lbf;a(DDDDDD)Z
intermediary method_8859
Lnet/minecraft/class_2025;method_8859(DDDDDD)Z
named test
Lnet/minecraft/predicate/entity/DistancePredicate;test(DDDDDD)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbf;a(Lcom/google/gson/JsonElement;)Lbf;
intermediary method_8857
Lnet/minecraft/class_2025;method_8857(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2025;
named fromJson
Lnet/minecraft/predicate/entity/DistancePredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/DistancePredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbf;a()Lcom/google/gson/JsonElement;
intermediary method_8858
Lnet/minecraft/class_2025;method_8858()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/DistancePredicate;toJson()Lcom/google/gson/JsonElement;
-