Enum Class MineshaftStructure.Type

java.lang.Object
java.lang.Enum<MineshaftStructure.Type>
net.minecraft.world.gen.structure.MineshaftStructure.Type
All Implemented Interfaces:
Serializable, Comparable<MineshaftStructure.Type>, Constable, StringIdentifiable
Enclosing class:
MineshaftStructure

public static enum MineshaftStructure.Type extends Enum<MineshaftStructure.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/world/gen/structure/MineshaftStructure$Type
intermediary net/minecraft/class_3098$class_3100
official eqo$a
  • Enum Constant Details

    • NORMAL

      public static final MineshaftStructure.Type NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;NORMAL:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
      intermediary field_13692 Lnet/minecraft/class_3098$class_3100;field_13692:Lnet/minecraft/class_3098$class_3100;
      official a Leqo$a;a:Leqo$a;
    • MESA

      public static final MineshaftStructure.Type MESA
      Mappings:
      Namespace Name Mixin selector
      named MESA Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;MESA:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
      intermediary field_13691 Lnet/minecraft/class_3098$class_3100;field_13691:Lnet/minecraft/class_3098$class_3100;
      official b Leqo$a;b:Leqo$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MineshaftStructure.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24839 Lnet/minecraft/class_3098$class_3100;field_24839:Lcom/mojang/serialization/Codec;
      official c Leqo$a;c:Lcom/mojang/serialization/Codec;
    • BY_ID

      private static final IntFunction<MineshaftStructure.Type> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_41680 Lnet/minecraft/class_3098$class_3100;field_41680:Ljava/util/function/IntFunction;
      official d Leqo$a;d:Ljava/util/function/IntFunction;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;name:Ljava/lang/String;
      intermediary field_13689 Lnet/minecraft/class_3098$class_3100;field_13689:Ljava/lang/String;
      official e Leqo$a;e:Ljava/lang/String;
    • log

      private final BlockState log
      Mappings:
      Namespace Name Mixin selector
      named log Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;log:Lnet/minecraft/block/BlockState;
      intermediary field_28850 Lnet/minecraft/class_3098$class_3100;field_28850:Lnet/minecraft/class_2680;
      official f Leqo$a;f:Ldxu;
    • planks

      private final BlockState planks
      Mappings:
      Namespace Name Mixin selector
      named planks Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;planks:Lnet/minecraft/block/BlockState;
      intermediary field_28851 Lnet/minecraft/class_3098$class_3100;field_28851:Lnet/minecraft/class_2680;
      official g Leqo$a;g:Ldxu;
    • fence

      private final BlockState fence
      Mappings:
      Namespace Name Mixin selector
      named fence Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;fence:Lnet/minecraft/block/BlockState;
      intermediary field_28852 Lnet/minecraft/class_3098$class_3100;field_28852:Lnet/minecraft/class_2680;
      official h Leqo$a;h:Ldxu;
  • Constructor Details

    • Type

      private Type(String name, Block log, Block planks, Block fence)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
      intermediary <init> Lnet/minecraft/class_3098$class_3100;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V
      official <init> Leqo$a;<init>(Ljava/lang/String;ILjava/lang/String;Ldkl;Ldkl;Ldkl;)V
  • Method Details

    • values

      public static MineshaftStructure.Type[] 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 MineshaftStructure.Type 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
      named getName Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getName()Ljava/lang/String;
      intermediary method_13534 Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;
      official a Leqo$a;a()Ljava/lang/String;
    • byId

      public static MineshaftStructure.Type byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;byId(I)Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
      intermediary method_13535 Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;
      official a Leqo$a;a(I)Leqo$a;
    • getLog

      public BlockState getLog()
      Mappings:
      Namespace Name Mixin selector
      named getLog Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getLog()Lnet/minecraft/block/BlockState;
      intermediary method_33760 Lnet/minecraft/class_3098$class_3100;method_33760()Lnet/minecraft/class_2680;
      official b Leqo$a;b()Ldxu;
    • getPlanks

      public BlockState getPlanks()
      Mappings:
      Namespace Name Mixin selector
      named getPlanks Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getPlanks()Lnet/minecraft/block/BlockState;
      intermediary method_33761 Lnet/minecraft/class_3098$class_3100;method_33761()Lnet/minecraft/class_2680;
      official d Leqo$a;d()Ldxu;
    • getFence

      public BlockState getFence()
      Mappings:
      Namespace Name Mixin selector
      named getFence Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getFence()Lnet/minecraft/block/BlockState;
      intermediary method_33762 Lnet/minecraft/class_3098$class_3100;method_33762()Lnet/minecraft/class_2680;
      official e Leqo$a;e()Ldxu;
    • 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 Lbba;c()Ljava/lang/String;