Enum RedstoneWireBlock.RedstoneWireType

java.lang.Object
java.lang.Enum<RedstoneWireBlock.RedstoneWireType>
net.minecraft.block.RedstoneWireBlock.RedstoneWireType
All Implemented Interfaces:
Serializable, Comparable<RedstoneWireBlock.RedstoneWireType>, java.lang.constant.Constable, StringIdentifiable
Enclosing class:
RedstoneWireBlock

static enum RedstoneWireBlock.RedstoneWireType
extends Enum<RedstoneWireBlock.RedstoneWireType>
implements StringIdentifiable
Mappings:
Namespace Name
official ajb$a
intermediary net/minecraft/class_286$class_287
named net/minecraft/block/RedstoneWireBlock$RedstoneWireType
  • Enum Constant Details

    • UP

      public static final RedstoneWireBlock.RedstoneWireType UP
      Mappings:
      Namespace Name Mixin selector
      official a Lajb$a;a:Lajb$a;
      intermediary field_1150 Lnet/minecraft/class_286$class_287;field_1150:Lnet/minecraft/class_286$class_287;
      named UP Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;UP:Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;
    • SIDE

      public static final RedstoneWireBlock.RedstoneWireType SIDE
      Mappings:
      Namespace Name Mixin selector
      official b Lajb$a;b:Lajb$a;
      intermediary field_1151 Lnet/minecraft/class_286$class_287;field_1151:Lnet/minecraft/class_286$class_287;
      named SIDE Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;SIDE:Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;
    • NONE

      public static final RedstoneWireBlock.RedstoneWireType NONE
      Mappings:
      Namespace Name Mixin selector
      official c Lajb$a;c:Lajb$a;
      intermediary field_1152 Lnet/minecraft/class_286$class_287;field_1152:Lnet/minecraft/class_286$class_287;
      named NONE Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;NONE:Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Lajb$a;d:Ljava/lang/String;
      intermediary field_1153 Lnet/minecraft/class_286$class_287;field_1153:Ljava/lang/String;
      named name Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;name:Ljava/lang/String;
  • Constructor Details

    • RedstoneWireType

      private RedstoneWireType​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajb$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_286$class_287;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static RedstoneWireBlock.RedstoneWireType[] 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 RedstoneWireBlock.RedstoneWireType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RedstoneWireBlock.RedstoneWireType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lajb$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_286$class_287;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/RedstoneWireBlock$RedstoneWireType;toString()Ljava/lang/String;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official l Lnw;l()Ljava/lang/String;
      intermediary method_6682 Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;