net.minecraft.advancements.critereon

public class WrappedMinMaxBounds

df
net.minecraft.advancements.critereon.WrappedMinMaxBounds
net.minecraft.class_2152
net.minecraft.command.FloatRangeArgument
net.minecraft.src.C_2662_
net.minecraft.advancements.critereon.CriterionConditionRange

Field summary

Modifier and TypeField
public static final WrappedMinMaxBounds
a
ANY
field_9780
ANY
f_75350_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INTS_ONLY
field_9781
ONLY_INTS_EXCEPTION
f_75351_
private final Float
c
min
field_9778
min
f_75352_
private final Float
d
max
field_9779
max
f_75353_

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)
m_164402_(float p_164403_)
public static WrappedMinMaxBounds
a(float arg0, float arg1)
between(float arg0, float arg1)
method_35402(float arg0, float arg1)
between(float min, float max)
m_164404_(float p_164405_, float p_164406_)
public static WrappedMinMaxBounds
b(float arg0)
atLeast(float arg0)
method_35406(float arg0)
atLeast(float value)
m_164414_(float p_164415_)
public static WrappedMinMaxBounds
c(float arg0)
atMost(float arg0)
method_35408(float arg0)
atMost(float value)
m_164417_(float p_164418_)
public boolean
d(float arg0)
matches(float arg0)
method_35409(float arg0)
isInRange(float value)
m_164419_(float arg0)
public boolean
a(double arg0)
matchesSqr(double arg0)
method_35400(double arg0)
isInSquaredRange(double value)
m_164400_(double arg0)
public Float
a()
getMin()
method_9175()
getMin()
m_75358_()
public Float
b()
getMax()
method_9177()
getMax()
m_75366_()
public com.google.gson.JsonElement
c()
serializeToJson()
method_35407()
toJson()
m_164416_()
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)
m_164407_(com.google.gson.JsonElement p_164408_)
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)
m_164409_(com.mojang.brigadier.StringReader p_164410_, boolean p_164411_)
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)
m_75359_(com.mojang.brigadier.StringReader p_75360_, boolean p_75361_, Function<Float, Float> p_75362_)
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)
m_75367_(com.mojang.brigadier.StringReader p_75368_, boolean p_75369_)
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)
m_75370_(com.mojang.brigadier.StringReader p_75371_, boolean p_75372_)
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)
m_75363_(Float p_75364_, Function<Float, Float> p_75365_)