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
official dgg
intermediary net/minecraft/class_5691
named net/minecraft/block/enums/Thickness
  • Enum Constant Details

    • TIP_MERGE

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

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

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

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

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

    • name

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

    • Thickness

      private Thickness(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgg;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5691;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/enums/Thickness;<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
      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;