net.minecraft.advancements.critereon

public abstract class MinMaxBounds<T extends Number>

cj
net.minecraft.advancements.critereon.MinMaxBounds
net.minecraft.class_2096
net.minecraft.predicate.NumberRange
net.minecraft.src.C_1863_
net.minecraft.advancements.critereon.CriterionConditionValue

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_EMPTY
field_9700
EXCEPTION_EMPTY
f_55297_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_SWAPPED
field_9701
EXCEPTION_SWAPPED
f_55298_
protected final T
c
min
field_9702
min
f_55299_
protected final T
d
max
field_9699
max
f_55300_

Constructor summary

ModifierConstructor
protected (T min, T max)

Method summary

Modifier and TypeMethod
public T
a()
getMin()
method_9038()
getMin()
m_55305_()
public T
b()
getMax()
method_9042()
getMax()
m_55326_()
public boolean
c()
isAny()
method_9041()
isDummy()
m_55327_()
public com.google.gson.JsonElement
d()
serializeToJson()
method_9036()
toJson()
m_55328_()
protected static <T extends Number, R extends MinMaxBounds<T>> R
a(com.google.gson.JsonElement arg0, R arg1, BiFunction<com.google.gson.JsonElement, String, T> arg2, cj$a<T, R> arg3)
fromJson(com.google.gson.JsonElement arg0, R arg1, BiFunction<com.google.gson.JsonElement, String, T> arg2, MinMaxBounds$BoundsFactory<T, R> arg3)
method_9039(com.google.gson.JsonElement arg0, R arg1, BiFunction<com.google.gson.JsonElement, String, T> arg2, class_2096$class_2097<T, R> arg3)
fromJson(com.google.gson.JsonElement json, R fallback, BiFunction<com.google.gson.JsonElement, String, T> asNumber, NumberRange$Factory<T, R> factory)
m_55306_(com.google.gson.JsonElement p_55307_, R p_55308_, BiFunction<com.google.gson.JsonElement, String, T> p_55309_, C_1864_<T, R> p_55310_)
protected static <T extends Number, R extends MinMaxBounds<T>> R
a(com.mojang.brigadier.StringReader arg0, cj$b<T, R> arg1, Function<String, T> arg2, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg3, Function<T, T> arg4)
fromReader(com.mojang.brigadier.StringReader arg0, MinMaxBounds$BoundsFromReaderFactory<T, R> arg1, Function<String, T> arg2, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg3, Function<T, T> arg4)
method_9043(com.mojang.brigadier.StringReader arg0, class_2096$class_2098<T, R> arg1, Function<String, T> arg2, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg3, Function<T, T> arg4)
parse(com.mojang.brigadier.StringReader commandReader, NumberRange$CommandFactory<T, R> commandFactory, Function<String, T> converter, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> exceptionTypeSupplier, Function<T, T> mapper)
m_55313_(com.mojang.brigadier.StringReader p_55314_, C_1865_<T, R> p_55315_, Function<String, T> p_55316_, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> p_55317_, Function<T, T> p_55318_)
private static <T extends Number> T
a(com.mojang.brigadier.StringReader arg0, Function<String, T> arg1, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg2)
readNumber(com.mojang.brigadier.StringReader arg0, Function<String, T> arg1, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg2)
method_9037(com.mojang.brigadier.StringReader arg0, Function<String, T> arg1, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> arg2)
fromStringReader(com.mojang.brigadier.StringReader reader, Function<String, T> converter, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> exceptionTypeSupplier)
m_55319_(com.mojang.brigadier.StringReader p_55320_, Function<String, T> p_55321_, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> p_55322_)
private static boolean
a(com.mojang.brigadier.StringReader arg0)
isAllowedInputChat(com.mojang.brigadier.StringReader arg0)
method_9040(com.mojang.brigadier.StringReader arg0)
isNextCharValid(com.mojang.brigadier.StringReader reader)
m_55311_(com.mojang.brigadier.StringReader p_55312_)
private static <T> T
a(T arg0, Function<T, T> arg1)
optionallyFormat(T arg0, Function<T, T> arg1)
method_9035(T arg0, Function<T, T> arg1)
map(T object, Function<T, T> function)
m_55323_(T p_55324_, Function<T, T> p_55325_)