类 MinMaxBounds.Doubles
java.lang.Object
net.minecraft.advancements.critereon.MinMaxBounds<Double>
net.minecraft.advancements.critereon.MinMaxBounds.Doubles
- 封闭类:
- 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.Doubles
atLeast
(double pMin) static MinMaxBounds.Doubles
atMost
(double pMax) static MinMaxBounds.Doubles
between
(double pMin, double pMax) private static MinMaxBounds.Doubles
static MinMaxBounds.Doubles
exactly
(double pValue) static MinMaxBounds.Doubles
fromJson
(com.google.gson.JsonElement pJson) static MinMaxBounds.Doubles
fromReader
(com.mojang.brigadier.StringReader pReader) static MinMaxBounds.Doubles
fromReader
(com.mojang.brigadier.StringReader pReader, Function<Double, Double> pFormatter) boolean
matches
(double pValue) boolean
matchesSqr
(double pValue) private static Double
从类继承的方法 net.minecraft.advancements.critereon.MinMaxBounds
fromJson, fromReader, getMax, getMin, isAny, serializeToJson
-
字段详细资料
-
ANY
-
minSq
-
maxSq
-
-
构造器详细资料
-
Doubles
-
-
方法详细资料
-
create
private static MinMaxBounds.Doubles create(com.mojang.brigadier.StringReader p_154796_, @Nullable Double p_154797_, @Nullable Double p_154798_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
squareOpt
-
exactly
-
between
-
atLeast
-
atMost
-
matches
public boolean matches(double pValue) -
matchesSqr
public boolean matchesSqr(double pValue) -
fromJson
-
fromReader
public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader pReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
fromReader
public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader pReader, Function<Double, Double> pFormatter) throws com.mojang.brigadier.exceptions.CommandSyntaxException- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-