类 MinMaxBounds.Ints
java.lang.Object
net.minecraft.advancements.critereon.MinMaxBounds<Integer>
net.minecraft.advancements.critereon.MinMaxBounds.Ints
- 封闭类:
- MinMaxBounds<T extends Number>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.advancements.critereon.MinMaxBounds
MinMaxBounds.BoundsFactory<T extends Number,
R extends MinMaxBounds<T>>, MinMaxBounds.BoundsFromReaderFactory<T extends Number, R extends MinMaxBounds<T>>, MinMaxBounds.Doubles, MinMaxBounds.Ints -
字段概要
字段从类继承的字段 net.minecraft.advancements.critereon.MinMaxBounds
ERROR_EMPTY, ERROR_SWAPPED, max, min
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static MinMaxBounds.Ints
atLeast
(int pMin) static MinMaxBounds.Ints
atMost
(int pMax) static MinMaxBounds.Ints
between
(int pMin, int pMax) private static MinMaxBounds.Ints
static MinMaxBounds.Ints
exactly
(int pValue) static MinMaxBounds.Ints
fromJson
(com.google.gson.JsonElement pJson) static MinMaxBounds.Ints
fromReader
(com.mojang.brigadier.StringReader pReader) static MinMaxBounds.Ints
fromReader
(com.mojang.brigadier.StringReader pReader, Function<Integer, Integer> pValueFunction) boolean
matches
(int pValue) boolean
matchesSqr
(long pValue) private static Long
从类继承的方法 net.minecraft.advancements.critereon.MinMaxBounds
fromJson, fromReader, getMax, getMin, isAny, serializeToJson
-
字段详细资料
-
ANY
-
minSq
-
maxSq
-
-
构造器详细资料
-
Ints
-
-
方法详细资料
-
create
private static MinMaxBounds.Ints create(com.mojang.brigadier.StringReader p_55378_, @Nullable Integer p_55379_, @Nullable Integer p_55380_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
squareOpt
-
exactly
-
between
-
atLeast
-
atMost
-
matches
public boolean matches(int pValue) -
matchesSqr
public boolean matchesSqr(long pValue) -
fromJson
-
fromReader
public static MinMaxBounds.Ints fromReader(com.mojang.brigadier.StringReader pReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
fromReader
public static MinMaxBounds.Ints fromReader(com.mojang.brigadier.StringReader pReader, Function<Integer, Integer> pValueFunction) throws com.mojang.brigadier.exceptions.CommandSyntaxException- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-