Package net.minecraft.util.function
Enum Class ValueLists.OutOfBoundsHandling
java.lang.Object
java.lang.Enum<ValueLists.OutOfBoundsHandling>
net.minecraft.util.function.ValueLists.OutOfBoundsHandling
- All Implemented Interfaces:
Serializable,Comparable<ValueLists.OutOfBoundsHandling>,Constable
- Enclosing class:
ValueLists
- Mappings:
Namespace Name named net/minecraft/util/function/ValueLists$OutOfBoundsHandlingintermediary net/minecraft/class_7995$class_7996official axe$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ValueLists.OutOfBoundsHandling[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ZERO
- Mappings:
Namespace Name Mixin selector named ZEROLnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;ZERO:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;intermediary field_41664Lnet/minecraft/class_7995$class_7996;field_41664:Lnet/minecraft/class_7995$class_7996;official aLaxe$a;a:Laxe$a;
-
WRAP
- Mappings:
Namespace Name Mixin selector named WRAPLnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;WRAP:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;intermediary field_41665Lnet/minecraft/class_7995$class_7996;field_41665:Lnet/minecraft/class_7995$class_7996;official bLaxe$a;b:Laxe$a;
-
CLAMP
- Mappings:
Namespace Name Mixin selector named CLAMPLnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;CLAMP:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;intermediary field_41666Lnet/minecraft/class_7995$class_7996;field_41666:Lnet/minecraft/class_7995$class_7996;official cLaxe$a;c:Laxe$a;
-
-
Constructor Details
-
OutOfBoundsHandling
private OutOfBoundsHandling()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-