Enum Class RailShape

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

public enum RailShape extends Enum<RailShape> implements StringIdentifiable
Mappings:
Namespace Name
official czx
intermediary net/minecraft/class_2768
named net/minecraft/block/enums/RailShape
  • Enum Constant Details

    • NORTH_SOUTH

      public static final RailShape NORTH_SOUTH
      Mappings:
      Namespace Name Mixin selector
      official a Lczx;a:Lczx;
      intermediary field_12665 Lnet/minecraft/class_2768;field_12665:Lnet/minecraft/class_2768;
      named NORTH_SOUTH Lnet/minecraft/block/enums/RailShape;NORTH_SOUTH:Lnet/minecraft/block/enums/RailShape;
    • EAST_WEST

      public static final RailShape EAST_WEST
      Mappings:
      Namespace Name Mixin selector
      official b Lczx;b:Lczx;
      intermediary field_12674 Lnet/minecraft/class_2768;field_12674:Lnet/minecraft/class_2768;
      named EAST_WEST Lnet/minecraft/block/enums/RailShape;EAST_WEST:Lnet/minecraft/block/enums/RailShape;
    • ASCENDING_EAST

      public static final RailShape ASCENDING_EAST
      Mappings:
      Namespace Name Mixin selector
      official c Lczx;c:Lczx;
      intermediary field_12667 Lnet/minecraft/class_2768;field_12667:Lnet/minecraft/class_2768;
      named ASCENDING_EAST Lnet/minecraft/block/enums/RailShape;ASCENDING_EAST:Lnet/minecraft/block/enums/RailShape;
    • ASCENDING_WEST

      public static final RailShape ASCENDING_WEST
      Mappings:
      Namespace Name Mixin selector
      official d Lczx;d:Lczx;
      intermediary field_12666 Lnet/minecraft/class_2768;field_12666:Lnet/minecraft/class_2768;
      named ASCENDING_WEST Lnet/minecraft/block/enums/RailShape;ASCENDING_WEST:Lnet/minecraft/block/enums/RailShape;
    • ASCENDING_NORTH

      public static final RailShape ASCENDING_NORTH
      Mappings:
      Namespace Name Mixin selector
      official e Lczx;e:Lczx;
      intermediary field_12670 Lnet/minecraft/class_2768;field_12670:Lnet/minecraft/class_2768;
      named ASCENDING_NORTH Lnet/minecraft/block/enums/RailShape;ASCENDING_NORTH:Lnet/minecraft/block/enums/RailShape;
    • ASCENDING_SOUTH

      public static final RailShape ASCENDING_SOUTH
      Mappings:
      Namespace Name Mixin selector
      official f Lczx;f:Lczx;
      intermediary field_12668 Lnet/minecraft/class_2768;field_12668:Lnet/minecraft/class_2768;
      named ASCENDING_SOUTH Lnet/minecraft/block/enums/RailShape;ASCENDING_SOUTH:Lnet/minecraft/block/enums/RailShape;
    • SOUTH_EAST

      public static final RailShape SOUTH_EAST
      Mappings:
      Namespace Name Mixin selector
      official g Lczx;g:Lczx;
      intermediary field_12664 Lnet/minecraft/class_2768;field_12664:Lnet/minecraft/class_2768;
      named SOUTH_EAST Lnet/minecraft/block/enums/RailShape;SOUTH_EAST:Lnet/minecraft/block/enums/RailShape;
    • SOUTH_WEST

      public static final RailShape SOUTH_WEST
      Mappings:
      Namespace Name Mixin selector
      official h Lczx;h:Lczx;
      intermediary field_12671 Lnet/minecraft/class_2768;field_12671:Lnet/minecraft/class_2768;
      named SOUTH_WEST Lnet/minecraft/block/enums/RailShape;SOUTH_WEST:Lnet/minecraft/block/enums/RailShape;
    • NORTH_WEST

      public static final RailShape NORTH_WEST
      Mappings:
      Namespace Name Mixin selector
      official i Lczx;i:Lczx;
      intermediary field_12672 Lnet/minecraft/class_2768;field_12672:Lnet/minecraft/class_2768;
      named NORTH_WEST Lnet/minecraft/block/enums/RailShape;NORTH_WEST:Lnet/minecraft/block/enums/RailShape;
    • NORTH_EAST

      public static final RailShape NORTH_EAST
      Mappings:
      Namespace Name Mixin selector
      official j Lczx;j:Lczx;
      intermediary field_12663 Lnet/minecraft/class_2768;field_12663:Lnet/minecraft/class_2768;
      named NORTH_EAST Lnet/minecraft/block/enums/RailShape;NORTH_EAST:Lnet/minecraft/block/enums/RailShape;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official k Lczx;k:Ljava/lang/String;
      intermediary field_12669 Lnet/minecraft/class_2768;field_12669:Ljava/lang/String;
      named name Lnet/minecraft/block/enums/RailShape;name:Ljava/lang/String;
  • Constructor Details

    • RailShape

      private RailShape(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lczx;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2768;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/enums/RailShape;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static RailShape[] 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 RailShape 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lczx;a()Ljava/lang/String;
      intermediary method_35309 Lnet/minecraft/class_2768;method_35309()Ljava/lang/String;
      named getName Lnet/minecraft/block/enums/RailShape;getName()Ljava/lang/String;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RailShape>
    • isAscending

      public boolean isAscending()
      Mappings:
      Namespace Name Mixin selector
      official b Lczx;b()Z
      intermediary method_11897 Lnet/minecraft/class_2768;method_11897()Z
      named isAscending Lnet/minecraft/block/enums/RailShape;isAscending()Z
    • 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 Laor;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;