Package net.minecraft.util
Enum Class BlockRotation
- All Implemented Interfaces:
Serializable,Comparable<BlockRotation>,Constable
- Mappings:
Namespace Name official aqiintermediary net/minecraft/class_2734named net/minecraft/util/BlockRotation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrotate(int rotation, int fullTurn) rotate(BlockRotation rotation) static BlockRotationReturns the enum constant of this class with the specified name.static BlockRotation[]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 aLaqi;a:Laqi;intermediary field_12742Lnet/minecraft/class_2734;field_12742:Lnet/minecraft/class_2734;named NONELnet/minecraft/util/BlockRotation;NONE:Lnet/minecraft/util/BlockRotation;
-
CLOCKWISE_90
- Mappings:
Namespace Name Mixin selector official bLaqi;b:Laqi;intermediary field_12743Lnet/minecraft/class_2734;field_12743:Lnet/minecraft/class_2734;named CLOCKWISE_90Lnet/minecraft/util/BlockRotation;CLOCKWISE_90:Lnet/minecraft/util/BlockRotation;
-
CLOCKWISE_180
- Mappings:
Namespace Name Mixin selector official cLaqi;c:Laqi;intermediary field_12744Lnet/minecraft/class_2734;field_12744:Lnet/minecraft/class_2734;named CLOCKWISE_180Lnet/minecraft/util/BlockRotation;CLOCKWISE_180:Lnet/minecraft/util/BlockRotation;
-
COUNTERCLOCKWISE_90
- Mappings:
Namespace Name Mixin selector official dLaqi;d:Laqi;intermediary field_12745Lnet/minecraft/class_2734;field_12745:Lnet/minecraft/class_2734;named COUNTERCLOCKWISE_90Lnet/minecraft/util/BlockRotation;COUNTERCLOCKWISE_90:Lnet/minecraft/util/BlockRotation;
-
-
Field Details
-
NAMES
- Mappings:
Namespace Name Mixin selector official fLaqi;f:[Ljava/lang/String;intermediary field_12747Lnet/minecraft/class_2734;field_12747:[Ljava/lang/String;named NAMESLnet/minecraft/util/BlockRotation;NAMES:[Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official eLaqi;e:Ljava/lang/String;intermediary field_12746Lnet/minecraft/class_2734;field_12746:Ljava/lang/String;named nameLnet/minecraft/util/BlockRotation;name:Ljava/lang/String;
-
-
Constructor Details
-
BlockRotation
- Mappings:
Namespace Name Mixin selector official <init>Laqi;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2734;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/util/BlockRotation;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
rotate
- Mappings:
Namespace Name Mixin selector official aLaqi;a(Laqi;)Laqi;intermediary method_11627Lnet/minecraft/class_2734;method_11627(Lnet/minecraft/class_2734;)Lnet/minecraft/class_2734;named rotateLnet/minecraft/util/BlockRotation;rotate(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/BlockRotation;
-
rotate
- Mappings:
Namespace Name Mixin selector official aLaqi;a(Lcv;)Lcv;intermediary method_11628Lnet/minecraft/class_2734;method_11628(Lnet/minecraft/class_1354;)Lnet/minecraft/class_1354;named rotateLnet/minecraft/util/BlockRotation;rotate(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
-
rotate
public int rotate(int rotation, int fullTurn) - Mappings:
Namespace Name Mixin selector official aLaqi;a(II)Iintermediary method_11626Lnet/minecraft/class_2734;method_11626(II)Inamed rotateLnet/minecraft/util/BlockRotation;rotate(II)I
-