public class MinMaxBoundsWrapped
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ERROR_INTS_ONLY |
private java.lang.Float |
max |
private java.lang.Float |
min |
static MinMaxBoundsWrapped |
UNBOUNDED |
Constructor and Description |
---|
MinMaxBoundsWrapped(java.lang.Float p_i49328_1_,
java.lang.Float p_i49328_2_) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
func_207920_c(com.mojang.brigadier.StringReader p_207920_0_,
boolean p_207920_1_) |
static MinMaxBoundsWrapped |
func_207921_a(com.mojang.brigadier.StringReader p_207921_0_,
boolean p_207921_1_,
java.util.function.Function<java.lang.Float,java.lang.Float> p_207921_2_) |
private static java.lang.Float |
func_207924_b(com.mojang.brigadier.StringReader p_207924_0_,
boolean p_207924_1_) |
java.lang.Float |
getMax() |
java.lang.Float |
getMin() |
private static java.lang.Float |
map(java.lang.Float p_207922_0_,
java.util.function.Function<java.lang.Float,java.lang.Float> p_207922_1_) |
public static final MinMaxBoundsWrapped UNBOUNDED
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INTS_ONLY
private final java.lang.Float min
private final java.lang.Float max
public MinMaxBoundsWrapped(@Nullable java.lang.Float p_i49328_1_, @Nullable java.lang.Float p_i49328_2_)
@Nullable public java.lang.Float getMin()
@Nullable public java.lang.Float getMax()
public static MinMaxBoundsWrapped func_207921_a(com.mojang.brigadier.StringReader p_207921_0_, boolean p_207921_1_, java.util.function.Function<java.lang.Float,java.lang.Float> p_207921_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
@Nullable private static java.lang.Float func_207924_b(com.mojang.brigadier.StringReader p_207924_0_, boolean p_207924_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static boolean func_207920_c(com.mojang.brigadier.StringReader p_207920_0_, boolean p_207920_1_)
@Nullable private static java.lang.Float map(@Nullable java.lang.Float p_207922_0_, java.util.function.Function<java.lang.Float,java.lang.Float> p_207922_1_)