Enum Class MineshaftFeature.Type

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

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

    • NORMAL

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

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

    • CODEC

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

      private static final Map<String,MineshaftFeature.Type> BY_NAME
      Mappings:
      Namespace Name Mixin selector
      official d Lcxh$a;d:Ljava/util/Map;
      intermediary field_13690 Lnet/minecraft/class_3098$class_3100;field_13690:Ljava/util/Map;
      named BY_NAME Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;BY_NAME:Ljava/util/Map;
    • name

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

      private final BlockState log
      Mappings:
      Namespace Name Mixin selector
      official f Lcxh$a;f:Lcoc;
      intermediary field_28850 Lnet/minecraft/class_3098$class_3100;field_28850:Lnet/minecraft/class_2680;
      named log Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;log:Lnet/minecraft/block/BlockState;
    • planks

      private final BlockState planks
      Mappings:
      Namespace Name Mixin selector
      official g Lcxh$a;g:Lcoc;
      intermediary field_28851 Lnet/minecraft/class_3098$class_3100;field_28851:Lnet/minecraft/class_2680;
      named planks Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;planks:Lnet/minecraft/block/BlockState;
    • fence

      private final BlockState fence
      Mappings:
      Namespace Name Mixin selector
      official h Lcxh$a;h:Lcoc;
      intermediary field_28852 Lnet/minecraft/class_3098$class_3100;field_28852:Lnet/minecraft/class_2680;
      named fence Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;fence:Lnet/minecraft/block/BlockState;
  • Constructor Details

    • Type

      private Type(String name, Block log, Block planks, Block fence)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxh$a;<init>(Ljava/lang/String;ILjava/lang/String;Lccy;Lccy;Lccy;)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
      named <init> Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
  • Method Details

    • values

      public static MineshaftFeature.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 MineshaftFeature.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
      official a Lcxh$a;a()Ljava/lang/String;
      intermediary method_13534 Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;
      named getName Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;getName()Ljava/lang/String;
    • byName

      private static MineshaftFeature.Type byName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh$a;a(Ljava/lang/String;)Lcxh$a;
      intermediary method_13532 Lnet/minecraft/class_3098$class_3100;method_13532(Ljava/lang/String;)Lnet/minecraft/class_3098$class_3100;
      named byName Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
    • byIndex

      public static MineshaftFeature.Type byIndex(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh$a;a(I)Lcxh$a;
      intermediary method_13535 Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;
      named byIndex Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;byIndex(I)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
    • getLog

      public BlockState getLog()
      Mappings:
      Namespace Name Mixin selector
      official b Lcxh$a;b()Lcoc;
      intermediary method_33760 Lnet/minecraft/class_3098$class_3100;method_33760()Lnet/minecraft/class_2680;
      named getLog Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;getLog()Lnet/minecraft/block/BlockState;
    • getPlanks

      public BlockState getPlanks()
      Mappings:
      Namespace Name Mixin selector
      official d Lcxh$a;d()Lcoc;
      intermediary method_33761 Lnet/minecraft/class_3098$class_3100;method_33761()Lnet/minecraft/class_2680;
      named getPlanks Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;getPlanks()Lnet/minecraft/block/BlockState;
    • getFence

      public BlockState getFence()
      Mappings:
      Namespace Name Mixin selector
      official e Lcxh$a;e()Lcoc;
      intermediary method_33762 Lnet/minecraft/class_3098$class_3100;method_33762()Lnet/minecraft/class_2680;
      named getFence Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;getFence()Lnet/minecraft/block/BlockState;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official c Lajg;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;