Package net.minecraft.util
Enum Class BlockMirror
- All Implemented Interfaces:
Serializable,Comparable<BlockMirror>,Constable
- Mappings:
Namespace Name official bfzintermediary 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 -
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 aLbfz;a:Lbfz;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 bLbfz;b:Lbfz;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 cLbfz;c:Lbfz;intermediary field_12708Lnet/minecraft/class_2727;field_12708:Lnet/minecraft/class_2727;named FRONT_BACKLnet/minecraft/util/BlockMirror;FRONT_BACK:Lnet/minecraft/util/BlockMirror;
-
-
Constructor Details
-
BlockMirror
private BlockMirror()
-
-
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 aLbfz;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 aLbfz;a(Leq;)Lbhb;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 bLbfz;b(Leq;)Leq;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;
-