Package net.minecraft.block
Enum Class Block.OffsetType
- All Implemented Interfaces:
Serializable,Comparable<Block.OffsetType>,Constable
- Enclosing class:
- Block
- Mappings:
Namespace Name official bcs$bintermediary net/minecraft/class_197$class_2177named net/minecraft/block/Block$OffsetType
-
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 TypeMethodDescriptionstatic Block.OffsetTypeReturns the enum constant of this class with the specified name.static Block.OffsetType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLbcs$b;a:Lbcs$b;intermediary field_9286Lnet/minecraft/class_197$class_2177;field_9286:Lnet/minecraft/class_197$class_2177;named NONELnet/minecraft/block/Block$OffsetType;NONE:Lnet/minecraft/block/Block$OffsetType;
-
XZ
- Mappings:
Namespace Name Mixin selector official bLbcs$b;b:Lbcs$b;intermediary field_9287Lnet/minecraft/class_197$class_2177;field_9287:Lnet/minecraft/class_197$class_2177;named XZLnet/minecraft/block/Block$OffsetType;XZ:Lnet/minecraft/block/Block$OffsetType;
-
XYZ
- Mappings:
Namespace Name Mixin selector official cLbcs$b;c:Lbcs$b;intermediary field_9288Lnet/minecraft/class_197$class_2177;field_9288:Lnet/minecraft/class_197$class_2177;named XYZLnet/minecraft/block/Block$OffsetType;XYZ:Lnet/minecraft/block/Block$OffsetType;
-
-
Constructor Details
-
OffsetType
private OffsetType()
-
-
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
-