Enum Class JigsawOrientation

java.lang.Object
java.lang.Enum<JigsawOrientation>
net.minecraft.block.enums.JigsawOrientation
All Implemented Interfaces:
Serializable, Comparable<JigsawOrientation>, Constable, StringIdentifiable

public enum JigsawOrientation extends Enum<JigsawOrientation> implements StringIdentifiable
Mappings:
Namespace Name
official hc
intermediary net/minecraft/class_5000
named net/minecraft/block/enums/JigsawOrientation
  • Enum Constant Details

    • DOWN_EAST

      public static final JigsawOrientation DOWN_EAST
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a:Lhc;
      intermediary field_23381 Lnet/minecraft/class_5000;field_23381:Lnet/minecraft/class_5000;
      named DOWN_EAST Lnet/minecraft/block/enums/JigsawOrientation;DOWN_EAST:Lnet/minecraft/block/enums/JigsawOrientation;
    • DOWN_NORTH

      public static final JigsawOrientation DOWN_NORTH
      Mappings:
      Namespace Name Mixin selector
      official b Lhc;b:Lhc;
      intermediary field_23382 Lnet/minecraft/class_5000;field_23382:Lnet/minecraft/class_5000;
      named DOWN_NORTH Lnet/minecraft/block/enums/JigsawOrientation;DOWN_NORTH:Lnet/minecraft/block/enums/JigsawOrientation;
    • DOWN_SOUTH

      public static final JigsawOrientation DOWN_SOUTH
      Mappings:
      Namespace Name Mixin selector
      official c Lhc;c:Lhc;
      intermediary field_23383 Lnet/minecraft/class_5000;field_23383:Lnet/minecraft/class_5000;
      named DOWN_SOUTH Lnet/minecraft/block/enums/JigsawOrientation;DOWN_SOUTH:Lnet/minecraft/block/enums/JigsawOrientation;
    • DOWN_WEST

      public static final JigsawOrientation DOWN_WEST
      Mappings:
      Namespace Name Mixin selector
      official d Lhc;d:Lhc;
      intermediary field_23384 Lnet/minecraft/class_5000;field_23384:Lnet/minecraft/class_5000;
      named DOWN_WEST Lnet/minecraft/block/enums/JigsawOrientation;DOWN_WEST:Lnet/minecraft/block/enums/JigsawOrientation;
    • UP_EAST

      public static final JigsawOrientation UP_EAST
      Mappings:
      Namespace Name Mixin selector
      official e Lhc;e:Lhc;
      intermediary field_23385 Lnet/minecraft/class_5000;field_23385:Lnet/minecraft/class_5000;
      named UP_EAST Lnet/minecraft/block/enums/JigsawOrientation;UP_EAST:Lnet/minecraft/block/enums/JigsawOrientation;
    • UP_NORTH

      public static final JigsawOrientation UP_NORTH
      Mappings:
      Namespace Name Mixin selector
      official f Lhc;f:Lhc;
      intermediary field_23386 Lnet/minecraft/class_5000;field_23386:Lnet/minecraft/class_5000;
      named UP_NORTH Lnet/minecraft/block/enums/JigsawOrientation;UP_NORTH:Lnet/minecraft/block/enums/JigsawOrientation;
    • UP_SOUTH

      public static final JigsawOrientation UP_SOUTH
      Mappings:
      Namespace Name Mixin selector
      official g Lhc;g:Lhc;
      intermediary field_23387 Lnet/minecraft/class_5000;field_23387:Lnet/minecraft/class_5000;
      named UP_SOUTH Lnet/minecraft/block/enums/JigsawOrientation;UP_SOUTH:Lnet/minecraft/block/enums/JigsawOrientation;
    • UP_WEST

      public static final JigsawOrientation UP_WEST
      Mappings:
      Namespace Name Mixin selector
      official h Lhc;h:Lhc;
      intermediary field_23388 Lnet/minecraft/class_5000;field_23388:Lnet/minecraft/class_5000;
      named UP_WEST Lnet/minecraft/block/enums/JigsawOrientation;UP_WEST:Lnet/minecraft/block/enums/JigsawOrientation;
    • WEST_UP

      public static final JigsawOrientation WEST_UP
      Mappings:
      Namespace Name Mixin selector
      official i Lhc;i:Lhc;
      intermediary field_23389 Lnet/minecraft/class_5000;field_23389:Lnet/minecraft/class_5000;
      named WEST_UP Lnet/minecraft/block/enums/JigsawOrientation;WEST_UP:Lnet/minecraft/block/enums/JigsawOrientation;
    • EAST_UP

      public static final JigsawOrientation EAST_UP
      Mappings:
      Namespace Name Mixin selector
      official j Lhc;j:Lhc;
      intermediary field_23390 Lnet/minecraft/class_5000;field_23390:Lnet/minecraft/class_5000;
      named EAST_UP Lnet/minecraft/block/enums/JigsawOrientation;EAST_UP:Lnet/minecraft/block/enums/JigsawOrientation;
    • NORTH_UP

      public static final JigsawOrientation NORTH_UP
      Mappings:
      Namespace Name Mixin selector
      official k Lhc;k:Lhc;
      intermediary field_23391 Lnet/minecraft/class_5000;field_23391:Lnet/minecraft/class_5000;
      named NORTH_UP Lnet/minecraft/block/enums/JigsawOrientation;NORTH_UP:Lnet/minecraft/block/enums/JigsawOrientation;
    • SOUTH_UP

      public static final JigsawOrientation SOUTH_UP
      Mappings:
      Namespace Name Mixin selector
      official l Lhc;l:Lhc;
      intermediary field_23392 Lnet/minecraft/class_5000;field_23392:Lnet/minecraft/class_5000;
      named SOUTH_UP Lnet/minecraft/block/enums/JigsawOrientation;SOUTH_UP:Lnet/minecraft/block/enums/JigsawOrientation;
  • Field Details

    • BY_INDEX

      private static final Int2ObjectMap<JigsawOrientation> BY_INDEX
      Mappings:
      Namespace Name Mixin selector
      official m Lhc;m:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_23393 Lnet/minecraft/class_5000;field_23393:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named BY_INDEX Lnet/minecraft/block/enums/JigsawOrientation;BY_INDEX:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official n Lhc;n:Ljava/lang/String;
      intermediary field_23394 Lnet/minecraft/class_5000;field_23394:Ljava/lang/String;
      named name Lnet/minecraft/block/enums/JigsawOrientation;name:Ljava/lang/String;
    • rotation

      private final Direction rotation
      Mappings:
      Namespace Name Mixin selector
      official o Lhc;o:Lha;
      intermediary field_23395 Lnet/minecraft/class_5000;field_23395:Lnet/minecraft/class_2350;
      named rotation Lnet/minecraft/block/enums/JigsawOrientation;rotation:Lnet/minecraft/util/math/Direction;
    • facing

      private final Direction facing
      Mappings:
      Namespace Name Mixin selector
      official p Lhc;p:Lha;
      intermediary field_23396 Lnet/minecraft/class_5000;field_23396:Lnet/minecraft/class_2350;
      named facing Lnet/minecraft/block/enums/JigsawOrientation;facing:Lnet/minecraft/util/math/Direction;
  • Constructor Details

    • JigsawOrientation

      private JigsawOrientation(String name, Direction facing, Direction rotation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhc;<init>(Ljava/lang/String;ILjava/lang/String;Lha;Lha;)V
      intermediary <init> Lnet/minecraft/class_5000;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)V
      named <init> Lnet/minecraft/block/enums/JigsawOrientation;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)V
  • Method Details

    • values

      public static JigsawOrientation[] 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 JigsawOrientation 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
    • getIndex

      private static int getIndex(Direction facing, Direction rotation)
      Mappings:
      Namespace Name Mixin selector
      official b Lhc;b(Lha;Lha;)I
      intermediary method_26427 Lnet/minecraft/class_5000;method_26427(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)I
      named getIndex Lnet/minecraft/block/enums/JigsawOrientation;getIndex(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)I
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lasp;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • byDirections

      public static JigsawOrientation byDirections(Direction facing, Direction rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Lha;Lha;)Lhc;
      intermediary method_26425 Lnet/minecraft/class_5000;method_26425(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Lnet/minecraft/class_5000;
      named byDirections Lnet/minecraft/block/enums/JigsawOrientation;byDirections(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/enums/JigsawOrientation;
    • getFacing

      public Direction getFacing()
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a()Lha;
      intermediary method_26426 Lnet/minecraft/class_5000;method_26426()Lnet/minecraft/class_2350;
      named getFacing Lnet/minecraft/block/enums/JigsawOrientation;getFacing()Lnet/minecraft/util/math/Direction;
    • getRotation

      public Direction getRotation()
      Mappings:
      Namespace Name Mixin selector
      official b Lhc;b()Lha;
      intermediary method_26428 Lnet/minecraft/class_5000;method_26428()Lnet/minecraft/class_2350;
      named getRotation Lnet/minecraft/block/enums/JigsawOrientation;getRotation()Lnet/minecraft/util/math/Direction;