Enum PistonHeadBlock.PistonHeadType

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

public static enum PistonHeadBlock.PistonHeadType
extends Enum<PistonHeadBlock.PistonHeadType>
implements StringIdentifiable
Mappings:
Namespace Name
official alt$a
intermediary net/minecraft/class_370$class_371
named net/minecraft/block/PistonHeadBlock$PistonHeadType
  • Enum Constant Details

    • DEFAULT

      public static final PistonHeadBlock.PistonHeadType DEFAULT
      Mappings:
      Namespace Name Mixin selector
      official a Lalt$a;a:Lalt$a;
      intermediary field_1479 Lnet/minecraft/class_370$class_371;field_1479:Lnet/minecraft/class_370$class_371;
      named DEFAULT Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;DEFAULT:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
    • STICKY

      public static final PistonHeadBlock.PistonHeadType STICKY
      Mappings:
      Namespace Name Mixin selector
      official b Lalt$a;b:Lalt$a;
      intermediary field_1480 Lnet/minecraft/class_370$class_371;field_1480:Lnet/minecraft/class_370$class_371;
      named STICKY Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;STICKY:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lalt$a;c:Ljava/lang/String;
      intermediary field_1481 Lnet/minecraft/class_370$class_371;field_1481:Ljava/lang/String;
      named name Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;name:Ljava/lang/String;
  • Constructor Details

    • PistonHeadType

      private PistonHeadType​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lalt$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_370$class_371;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static PistonHeadBlock.PistonHeadType[] 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 PistonHeadBlock.PistonHeadType 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<PistonHeadBlock.PistonHeadType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lalt$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_370$class_371;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;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;