net.minecraft.advancements.critereon

public record DistancePredicate

bh
net.minecraft.advancements.critereon.DistancePredicate
net.minecraft.class_2025
net.minecraft.predicate.entity.DistancePredicate
net.minecraft.src.C_750_
net.minecraft.advancements.critereon.CriterionConditionDistance

Field summary

Modifier and TypeField
private final MinMaxBounds$Doubles
b
x
comp_1743
x
f_26242_
private final MinMaxBounds$Doubles
c
y
comp_1744
y
f_26243_
private final MinMaxBounds$Doubles
d
z
comp_1745
z
f_26244_
private final MinMaxBounds$Doubles
e
horizontal
comp_1746
horizontal
f_26245_
private final MinMaxBounds$Doubles
f
absolute
comp_1747
absolute
f_26246_
public static final com.mojang.serialization.Codec<DistancePredicate>
a
CODEC
field_45728
CODEC
f_291581_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Doubles x, MinMaxBounds$Doubles y, MinMaxBounds$Doubles z, MinMaxBounds$Doubles horizontal, MinMaxBounds$Doubles absolute)

Method summary

Modifier and TypeMethod
public static DistancePredicate
a(cl$c arg0)
horizontal(MinMaxBounds$Doubles arg0)
method_8860(class_2096$class_2099 arg0)
horizontal(NumberRange$DoubleRange horizontal)
m_148836_(C_1863_$C_141231_ p_148837_)
public static DistancePredicate
b(cl$c arg0)
vertical(MinMaxBounds$Doubles arg0)
method_8856(class_2096$class_2099 arg0)
y(NumberRange$DoubleRange y)
m_148838_(C_1863_$C_141231_ p_148839_)
public static DistancePredicate
c(cl$c arg0)
absolute(MinMaxBounds$Doubles arg0)
method_37223(class_2096$class_2099 arg0)
absolute(NumberRange$DoubleRange absolute)
m_148840_(C_1863_$C_141231_ p_148841_)
public boolean
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
matches(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_8859(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
test(double x0, double y0, double z0, double x1, double y1, double z1)
m_26255_(double p_26257_, double p_26259_, double p_26261_, double arg3, double arg4, double arg5)
public static Optional<DistancePredicate>
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8857(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_26264_(com.google.gson.JsonElement p_26265_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8858()
toJson()
m_26254_()
public MinMaxBounds$Doubles
b()
x()
comp_1743()
x()
f_26242_()
public MinMaxBounds$Doubles
c()
y()
comp_1744()
y()
f_26243_()
public MinMaxBounds$Doubles
d()
z()
comp_1745()
z()
f_26244_()
public MinMaxBounds$Doubles
e()
horizontal()
comp_1746()
horizontal()
f_26245_()
public MinMaxBounds$Doubles
f()
absolute()
comp_1747()
absolute()
f_26246_()