Enum Class Thickness

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

public enum Thickness extends Enum<Thickness> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/block/enums/Thickness
intermediary net/minecraft/class_5691
official dtz
  • Enum Constant Details

    • TIP_MERGE

      public static final Thickness TIP_MERGE
      Mappings:
      Namespace Name Mixin selector
      named TIP_MERGE Lnet/minecraft/block/enums/Thickness;TIP_MERGE:Lnet/minecraft/block/enums/Thickness;
      intermediary field_28064 Lnet/minecraft/class_5691;field_28064:Lnet/minecraft/class_5691;
      official a Ldtz;a:Ldtz;
    • TIP

      public static final Thickness TIP
      Mappings:
      Namespace Name Mixin selector
      named TIP Lnet/minecraft/block/enums/Thickness;TIP:Lnet/minecraft/block/enums/Thickness;
      intermediary field_28065 Lnet/minecraft/class_5691;field_28065:Lnet/minecraft/class_5691;
      official b Ldtz;b:Ldtz;
    • FRUSTUM

      public static final Thickness FRUSTUM
      Mappings:
      Namespace Name Mixin selector
      named FRUSTUM Lnet/minecraft/block/enums/Thickness;FRUSTUM:Lnet/minecraft/block/enums/Thickness;
      intermediary field_28066 Lnet/minecraft/class_5691;field_28066:Lnet/minecraft/class_5691;
      official c Ldtz;c:Ldtz;
    • MIDDLE

      public static final Thickness MIDDLE
      Mappings:
      Namespace Name Mixin selector
      named MIDDLE Lnet/minecraft/block/enums/Thickness;MIDDLE:Lnet/minecraft/block/enums/Thickness;
      intermediary field_28067 Lnet/minecraft/class_5691;field_28067:Lnet/minecraft/class_5691;
      official d Ldtz;d:Ldtz;
    • BASE

      public static final Thickness BASE
      Mappings:
      Namespace Name Mixin selector
      named BASE Lnet/minecraft/block/enums/Thickness;BASE:Lnet/minecraft/block/enums/Thickness;
      intermediary field_28068 Lnet/minecraft/class_5691;field_28068:Lnet/minecraft/class_5691;
      official e Ldtz;e:Ldtz;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/block/enums/Thickness;name:Ljava/lang/String;
      intermediary field_28069 Lnet/minecraft/class_5691;field_28069:Ljava/lang/String;
      official f Ldtz;f:Ljava/lang/String;
  • Constructor Details

    • Thickness

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

    • values

      public static Thickness[] 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 Thickness 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Thickness>
    • 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazk;c()Ljava/lang/String;