net.minecraft.advancements.critereon

public record WrappedMinMaxBounds

eo
net.minecraft.advancements.critereon.WrappedMinMaxBounds
net.minecraft.class_2152
net.minecraft.command.FloatRangeArgument
net.minecraft.advancements.critereon.CriterionConditionRange

Field summary

Modifier and TypeField
private final Float
c
min
comp_1840
min
private final Float
d
max
comp_1841
max
public static final WrappedMinMaxBounds
a
ANY
field_9780
ANY
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INTS_ONLY
field_9781
ONLY_INTS_EXCEPTION

Constructor summary

ModifierConstructor
public (Float min, Float max)

Method summary

Modifier and TypeMethod
public static WrappedMinMaxBounds
a(float arg0)
exactly(float arg0)
method_35401(float arg0)
exactly(float value)
public static WrappedMinMaxBounds
a(float arg0, float arg1)
between(float arg0, float arg1)
method_35402(float arg0, float arg1)
between(float min, float max)
public static WrappedMinMaxBounds
b(float arg0)
atLeast(float arg0)
method_35406(float arg0)
atLeast(float value)
public static WrappedMinMaxBounds
c(float arg0)
atMost(float arg0)
method_35408(float arg0)
atMost(float value)
public boolean
d(float arg0)
matches(float arg0)
method_35409(float arg0)
isInRange(float value)
public boolean
a(double arg0)
matchesSqr(double arg0)
method_35400(double arg0)
isInSquaredRange(double value)
public com.google.gson.JsonElement
a()
serializeToJson()
method_35407()
toJson()
public static WrappedMinMaxBounds
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_35403(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
public static WrappedMinMaxBounds
a(com.mojang.brigadier.StringReader arg0, boolean arg1)
fromReader(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_35404(com.mojang.brigadier.StringReader arg0, boolean arg1)
parse(com.mojang.brigadier.StringReader reader, boolean allowFloats)
public static WrappedMinMaxBounds
a(com.mojang.brigadier.StringReader arg0, boolean arg1, Function<Float, Float> arg2)
fromReader(com.mojang.brigadier.StringReader arg0, boolean arg1, Function<Float, Float> arg2)
method_9172(com.mojang.brigadier.StringReader arg0, boolean arg1, Function<Float, Float> arg2)
parse(com.mojang.brigadier.StringReader reader, boolean allowFloats, Function<Float, Float> transform)
private static Float
b(com.mojang.brigadier.StringReader arg0, boolean arg1)
readNumber(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_9176(com.mojang.brigadier.StringReader arg0, boolean arg1)
parseFloat(com.mojang.brigadier.StringReader reader, boolean allowFloats)
private static boolean
c(com.mojang.brigadier.StringReader arg0, boolean arg1)
isAllowedNumber(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_9173(com.mojang.brigadier.StringReader arg0, boolean arg1)
peekDigit(com.mojang.brigadier.StringReader reader, boolean allowFloats)
private static Float
a(Float arg0, Function<Float, Float> arg1)
optionallyFormat(Float arg0, Function<Float, Float> arg1)
method_9174(Float arg0, Function<Float, Float> arg1)
mapFloat(Float value, Function<Float, Float> function)
public Float
b()
min()
comp_1840()
min()
public Float
c()
max()
comp_1841()
max()