Package net.minecraft.util
Enum Class BlockMirror
- All Implemented Interfaces:
Serializable,Comparable<BlockMirror>,Constable
- Mappings:
Namespace Name official aryintermediary net/minecraft/class_2727named net/minecraft/util/BlockMirror
-
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 TypeMethodDescriptiongetRotation(Direction direction) intmirror(int rotation, int fullTurn) static BlockMirrorReturns the enum constant of this class with the specified name.static BlockMirror[]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 aLary;a:Lary;intermediary field_12706Lnet/minecraft/class_2727;field_12706:Lnet/minecraft/class_2727;named NONELnet/minecraft/util/BlockMirror;NONE:Lnet/minecraft/util/BlockMirror;
-
LEFT_RIGHT
- Mappings:
Namespace Name Mixin selector official bLary;b:Lary;intermediary field_12707Lnet/minecraft/class_2727;field_12707:Lnet/minecraft/class_2727;named LEFT_RIGHTLnet/minecraft/util/BlockMirror;LEFT_RIGHT:Lnet/minecraft/util/BlockMirror;
-
FRONT_BACK
- Mappings:
Namespace Name Mixin selector official cLary;c:Lary;intermediary field_12708Lnet/minecraft/class_2727;field_12708:Lnet/minecraft/class_2727;named FRONT_BACKLnet/minecraft/util/BlockMirror;FRONT_BACK:Lnet/minecraft/util/BlockMirror;
-
-
Field Details
-
NAMES
- Mappings:
Namespace Name Mixin selector official eLary;e:[Ljava/lang/String;intermediary field_12710Lnet/minecraft/class_2727;field_12710:[Ljava/lang/String;named NAMESLnet/minecraft/util/BlockMirror;NAMES:[Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official dLary;d:Ljava/lang/String;intermediary field_12709Lnet/minecraft/class_2727;field_12709:Ljava/lang/String;named nameLnet/minecraft/util/BlockMirror;name:Ljava/lang/String;
-
-
Constructor Details
-
BlockMirror
- Mappings:
Namespace Name Mixin selector official <init>Lary;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2727;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/util/BlockMirror;<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
-
mirror
public int mirror(int rotation, int fullTurn) - Mappings:
Namespace Name Mixin selector official aLary;a(II)Iintermediary method_11622Lnet/minecraft/class_2727;method_11622(II)Inamed mirrorLnet/minecraft/util/BlockMirror;mirror(II)I
-
getRotation
- Mappings:
Namespace Name Mixin selector official aLary;a(Lfa;)Latm;intermediary method_11623Lnet/minecraft/class_2727;method_11623(Lnet/minecraft/class_1354;)Lnet/minecraft/class_2734;named getRotationLnet/minecraft/util/BlockMirror;getRotation(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/BlockRotation;
-
apply
- Mappings:
Namespace Name Mixin selector official bLary;b(Lfa;)Lfa;intermediary method_11624Lnet/minecraft/class_2727;method_11624(Lnet/minecraft/class_1354;)Lnet/minecraft/class_1354;named applyLnet/minecraft/util/BlockMirror;apply(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
-