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 official ans$a
intermediary net/minecraft/class_7995$class_7996
named net/minecraft/util/function/ValueLists$OutOfBoundsHandling
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
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 official a
Lans$a;a:Lans$a;
intermediary field_41664
Lnet/minecraft/class_7995$class_7996;field_41664:Lnet/minecraft/class_7995$class_7996;
named ZERO
Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;ZERO:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;
-
WRAP
- Mappings:
Namespace Name Mixin selector official b
Lans$a;b:Lans$a;
intermediary field_41665
Lnet/minecraft/class_7995$class_7996;field_41665:Lnet/minecraft/class_7995$class_7996;
named WRAP
Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;WRAP:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;
-
CLAMP
- Mappings:
Namespace Name Mixin selector official c
Lans$a;c:Lans$a;
intermediary field_41666
Lnet/minecraft/class_7995$class_7996;field_41666:Lnet/minecraft/class_7995$class_7996;
named CLAMP
Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;CLAMP:Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;
-
-
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
-