Class MinMaxBounds.Doubles
java.lang.Object
net.minecraft.advancements.critereon.MinMaxBounds<Double>
net.minecraft.advancements.critereon.MinMaxBounds.Doubles
- Enclosing class:
 - MinMaxBounds<T extends Number>
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class 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  - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MinMaxBounds.Doublesprivate final Doubleprivate final DoubleFields inherited from class net.minecraft.advancements.critereon.MinMaxBounds
ERROR_EMPTY, ERROR_SWAPPED, max, min - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic MinMaxBounds.DoublesatLeast(double p_154805_) static MinMaxBounds.DoublesatMost(double p_154809_) static MinMaxBounds.Doublesbetween(double p_154789_, double p_154790_) private static MinMaxBounds.Doublesstatic MinMaxBounds.Doublesexactly(double p_154787_) static MinMaxBounds.DoublesfromJson(com.google.gson.JsonElement p_154792_) static MinMaxBounds.DoublesfromReader(com.mojang.brigadier.StringReader p_154794_) static MinMaxBounds.DoublesfromReader(com.mojang.brigadier.StringReader p_154800_, Function<Double, Double> p_154801_) booleanmatches(double p_154811_) booleanmatchesSqr(double p_154813_) private static DoubleMethods inherited from class net.minecraft.advancements.critereon.MinMaxBounds
fromJson, fromReader, getMax, getMin, isAny, serializeToJson 
- 
Field Details
- 
ANY
 - 
minSq
 - 
maxSq
 
 - 
 - 
Constructor Details
- 
Doubles
 
 - 
 - 
Method Details
- 
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 - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
squareOpt
 - 
exactly
 - 
between
 - 
atLeast
 - 
atMost
 - 
matches
public boolean matches(double p_154811_)  - 
matchesSqr
public boolean matchesSqr(double p_154813_)  - 
fromJson
 - 
fromReader
public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader p_154794_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
fromReader
public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader p_154800_, Function<Double, Double> p_154801_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 
 -