net.minecraft.predicate

public record NumberRange$DoubleRange

implements NumberRange<Double>

net.minecraft.advancements.criterion.MinMaxBounds$Doubles
net.minecraft.class_2096$class_2099
net.minecraft.predicate.NumberRange$DoubleRange

Field summary

Modifier and TypeField
private final NumberRange$Bounds<Double>
bounds
comp_4771
bounds
private final NumberRange$Bounds<Double>
boundsSqr
comp_4772
boundsSqr
public static final NumberRange$DoubleRange
ANY
field_9705
ANY
public static final com.mojang.serialization.Codec<NumberRange$DoubleRange>
CODEC
field_45762
CODEC
public static final PacketCodec<io.netty.buffer.ByteBuf, NumberRange$DoubleRange>
STREAM_CODEC
field_56293
PACKET_CODEC

Constructor summary

ModifierConstructor
private (NumberRange$Bounds<Double> bounds)
public (NumberRange$Bounds<Double> bounds, NumberRange$Bounds<Double> boundsSqr)

Method summary

Modifier and TypeMethod
public static NumberRange$DoubleRange
exactly(double value)
method_35284(double arg0)
exactly(double value)
public static NumberRange$DoubleRange
between(double min, double max)
method_35285(double arg0, double arg1)
between(double min, double max)
public static NumberRange$DoubleRange
atLeast(double value)
method_9050(double arg0)
atLeast(double value)
public static NumberRange$DoubleRange
atMost(double value)
method_35286(double arg0)
atMost(double value)
public boolean
matches(double value)
method_9047(double arg0)
test(double value)
public boolean
matchesSqr(double valueSqr)
method_9045(double arg0)
testSqrt(double value)
public static NumberRange$DoubleRange
fromReader(com.mojang.brigadier.StringReader reader)
method_9049(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
public NumberRange$Bounds<Double>
bounds()
comp_4771()
bounds()
public NumberRange$Bounds<Double>
boundsSqr()
comp_4772()
boundsSqr()