net.minecraft.advancements.critereon

public record MinMaxBounds$Doubles

implements MinMaxBounds<Double>

dh$c
net.minecraft.advancements.critereon.MinMaxBounds$Doubles
net.minecraft.class_2096$class_2099
net.minecraft.predicate.NumberRange$DoubleRange
net.minecraft.src.C_1863_$C_141231_
net.minecraft.advancements.critereon.CriterionConditionValue$DoubleRange

Field summary

Modifier and TypeField
private final Optional<Double>
e
min
comp_1805
min
f_290567_
private final Optional<Double>
f
max
comp_1806
max
f_291623_
private final Optional<Double>
g
minSq
comp_1807
squaredMin
f_154780_
private final Optional<Double>
h
maxSq
comp_1808
squaredMax
f_154781_
public static final MinMaxBounds$Doubles
c
ANY
field_9705
ANY
f_154779_
public static final com.mojang.serialization.Codec<MinMaxBounds$Doubles>
d
CODEC
field_45762
CODEC
f_290947_

Constructor summary

ModifierConstructor
private (Optional<Double> min, Optional<Double> max)
public (Optional<Double> max, Optional<Double> minSq, Optional<Double> maxSq, Optional<Double> arg3)

Method summary

Modifier and TypeMethod
private static MinMaxBounds$Doubles
a(com.mojang.brigadier.StringReader arg0, Optional<Double> arg1, Optional<Double> arg2)
create(com.mojang.brigadier.StringReader arg0, Optional<Double> arg1, Optional<Double> arg2)
method_9046(com.mojang.brigadier.StringReader arg0, Optional<Double> arg1, Optional<Double> arg2)
create(com.mojang.brigadier.StringReader reader, Optional<Double> min, Optional<Double> max)
m_154795_(com.mojang.brigadier.StringReader p_154796_, Optional<Double> p_299495_, Optional<Double> p_301206_)
private static Optional<Double>
a(Optional<Double> arg0)
squareOpt(Optional<Double> arg0)
method_9044(Optional<Double> arg0)
square(Optional<Double> value)
m_154802_(Optional<Double> p_299805_)
public static MinMaxBounds$Doubles
a(double arg0)
exactly(double arg0)
method_35284(double arg0)
exactly(double value)
m_154786_(double p_154787_)
public static MinMaxBounds$Doubles
a(double arg0, double arg1)
between(double arg0, double arg1)
method_35285(double arg0, double arg1)
between(double min, double max)
m_154788_(double p_154789_, double arg1)
public static MinMaxBounds$Doubles
b(double arg0)
atLeast(double arg0)
method_9050(double arg0)
atLeast(double value)
m_154804_(double p_154805_)
public static MinMaxBounds$Doubles
c(double arg0)
atMost(double arg0)
method_35286(double arg0)
atMost(double value)
m_154808_(double p_154809_)
public boolean
d(double arg0)
matches(double arg0)
method_9047(double arg0)
test(double value)
m_154810_(double arg0)
public boolean
e(double arg0)
matchesSqr(double arg0)
method_9045(double arg0)
testSqrt(double value)
m_154812_(double arg0)
public static MinMaxBounds$Doubles
a(com.mojang.brigadier.StringReader arg0)
fromReader(com.mojang.brigadier.StringReader arg0)
method_9049(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
m_154793_(com.mojang.brigadier.StringReader p_154794_)
public static MinMaxBounds$Doubles
a(com.mojang.brigadier.StringReader arg0, Function<Double, Double> arg1)
fromReader(com.mojang.brigadier.StringReader arg0, Function<Double, Double> arg1)
method_9048(com.mojang.brigadier.StringReader arg0, Function<Double, Double> arg1)
parse(com.mojang.brigadier.StringReader reader, Function<Double, Double> mapper)
m_154799_(com.mojang.brigadier.StringReader p_154800_, Function<Double, Double> p_154801_)
public Optional<Double>
a()
min()
comp_1805()
min()
m_293284_()
public Optional<Double>
b()
max()
comp_1806()
max()
m_294019_()
public Optional<Double>
e()
minSq()
comp_1807()
squaredMin()
f_154780_()
public Optional<Double>
f()
maxSq()
comp_1808()
squaredMax()
f_154781_()