Enum BlockMirror

java.lang.Object
java.lang.Enum<BlockMirror>
net.minecraft.util.BlockMirror
All Implemented Interfaces:
Serializable, Comparable<BlockMirror>, java.lang.constant.Constable

public enum BlockMirror
extends Enum<BlockMirror>
Mappings:
Namespace Name
official cav
intermediary net/minecraft/class_2415
named net/minecraft/util/BlockMirror
  • Enum Constant Details

    • NONE

      public static final BlockMirror NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lcav;a:Lcav;
      intermediary field_11302 Lnet/minecraft/class_2415;field_11302:Lnet/minecraft/class_2415;
      named NONE Lnet/minecraft/util/BlockMirror;NONE:Lnet/minecraft/util/BlockMirror;
    • LEFT_RIGHT

      public static final BlockMirror LEFT_RIGHT
      Mappings:
      Namespace Name Mixin selector
      official b Lcav;b:Lcav;
      intermediary field_11300 Lnet/minecraft/class_2415;field_11300:Lnet/minecraft/class_2415;
      named LEFT_RIGHT Lnet/minecraft/util/BlockMirror;LEFT_RIGHT:Lnet/minecraft/util/BlockMirror;
    • FRONT_BACK

      public static final BlockMirror FRONT_BACK
      Mappings:
      Namespace Name Mixin selector
      official c Lcav;c:Lcav;
      intermediary field_11301 Lnet/minecraft/class_2415;field_11301:Lnet/minecraft/class_2415;
      named FRONT_BACK Lnet/minecraft/util/BlockMirror;FRONT_BACK:Lnet/minecraft/util/BlockMirror;
  • Field Details

    • field_27883

      private final Text field_27883
      Mappings:
      Namespace Name Mixin selector
      official d Lcav;d:Loi;
      intermediary field_27883 Lnet/minecraft/class_2415;field_27883:Lnet/minecraft/class_2561;
      named field_27883 Lnet/minecraft/util/BlockMirror;field_27883:Lnet/minecraft/text/Text;
    • directionTransformation

      private final DirectionTransformation directionTransformation
      Mappings:
      Namespace Name Mixin selector
      official e Lcav;e:Lc;
      intermediary field_23263 Lnet/minecraft/class_2415;field_23263:Lnet/minecraft/class_4990;
      named directionTransformation Lnet/minecraft/util/BlockMirror;directionTransformation:Lnet/minecraft/util/math/DirectionTransformation;
  • Constructor Details

  • Method Details

    • values

      public static BlockMirror[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BlockMirror valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • mirror

      public int mirror​(int rotation, int fullTurn)
      Mappings:
      Namespace Name Mixin selector
      official a Lcav;a(II)I
      intermediary method_10344 Lnet/minecraft/class_2415;method_10344(II)I
      named mirror Lnet/minecraft/util/BlockMirror;mirror(II)I
    • getRotation

      public BlockRotation getRotation​(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcav;a(Lgc;)Lccf;
      intermediary method_10345 Lnet/minecraft/class_2415;method_10345(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/util/BlockMirror;getRotation(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/BlockRotation;
    • apply

      public Direction apply​(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lcav;b(Lgc;)Lgc;
      intermediary method_10343 Lnet/minecraft/class_2415;method_10343(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;
      named apply Lnet/minecraft/util/BlockMirror;apply(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
    • getDirectionTransformation

      public DirectionTransformation getDirectionTransformation()
      Mappings:
      Namespace Name Mixin selector
      official a Lcav;a()Lc;
      intermediary method_26380 Lnet/minecraft/class_2415;method_26380()Lnet/minecraft/class_4990;
      named getDirectionTransformation Lnet/minecraft/util/BlockMirror;getDirectionTransformation()Lnet/minecraft/util/math/DirectionTransformation;
    • method_32354

      @Environment(CLIENT) public Text method_32354()
      Mappings:
      Namespace Name Mixin selector
      official b Lcav;b()Loi;
      intermediary method_32354 Lnet/minecraft/class_2415;method_32354()Lnet/minecraft/class_2561;
      named method_32354 Lnet/minecraft/util/BlockMirror;method_32354()Lnet/minecraft/text/Text;