Enum Class BlockMirror

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

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

    • NONE

      public static final BlockMirror NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a:Lamr;
      intermediary field_12706 Lnet/minecraft/class_2727;field_12706:Lnet/minecraft/class_2727;
      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 Lamr;b:Lamr;
      intermediary field_12707 Lnet/minecraft/class_2727;field_12707:Lnet/minecraft/class_2727;
      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 Lamr;c:Lamr;
      intermediary field_12708 Lnet/minecraft/class_2727;field_12708:Lnet/minecraft/class_2727;
      named FRONT_BACK Lnet/minecraft/util/BlockMirror;FRONT_BACK:Lnet/minecraft/util/BlockMirror;
  • Field Details

    • NAMES

      private static String[] NAMES
      Mappings:
      Namespace Name Mixin selector
      official e Lamr;e:[Ljava/lang/String;
      intermediary field_12710 Lnet/minecraft/class_2727;field_12710:[Ljava/lang/String;
      named NAMES Lnet/minecraft/util/BlockMirror;NAMES:[Ljava/lang/String;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Lamr;d:Ljava/lang/String;
      intermediary field_12709 Lnet/minecraft/class_2727;field_12709:Ljava/lang/String;
      named name Lnet/minecraft/util/BlockMirror;name:Ljava/lang/String;
  • Constructor Details

    • BlockMirror

      private BlockMirror(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lamr;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2727;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/util/BlockMirror;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static BlockMirror[] 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

      public static BlockMirror valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • mirror

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

      public BlockRotation getRotation(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lcs;)Laoe;
      intermediary method_11623 Lnet/minecraft/class_2727;method_11623(Lnet/minecraft/class_1354;)Lnet/minecraft/class_2734;
      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 Lamr;b(Lcs;)Lcs;
      intermediary method_11624 Lnet/minecraft/class_2727;method_11624(Lnet/minecraft/class_1354;)Lnet/minecraft/class_1354;
      named apply Lnet/minecraft/util/BlockMirror;apply(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;