Enum InfestedBlock.Variants

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

public static enum InfestedBlock.Variants
extends Enum<InfestedBlock.Variants>
implements StringIdentifiable
Mappings:
Namespace Name
official ahz$a
intermediary net/minecraft/class_248$class_249
named net/minecraft/block/InfestedBlock$Variants
  • Enum Constant Details

    • STONE

      public static final InfestedBlock.Variants STONE
      Mappings:
      Namespace Name Mixin selector
      official a Lahz$a;a:Lahz$a;
      intermediary field_1042 Lnet/minecraft/class_248$class_249;field_1042:Lnet/minecraft/class_248$class_249;
      named STONE Lnet/minecraft/block/InfestedBlock$Variants;STONE:Lnet/minecraft/block/InfestedBlock$Variants;
    • COBBLESTONE

      public static final InfestedBlock.Variants COBBLESTONE
      Mappings:
      Namespace Name Mixin selector
      official b Lahz$a;b:Lahz$a;
      intermediary field_1043 Lnet/minecraft/class_248$class_249;field_1043:Lnet/minecraft/class_248$class_249;
      named COBBLESTONE Lnet/minecraft/block/InfestedBlock$Variants;COBBLESTONE:Lnet/minecraft/block/InfestedBlock$Variants;
    • STONE_BRICK

      public static final InfestedBlock.Variants STONE_BRICK
      Mappings:
      Namespace Name Mixin selector
      official c Lahz$a;c:Lahz$a;
      intermediary field_1044 Lnet/minecraft/class_248$class_249;field_1044:Lnet/minecraft/class_248$class_249;
      named STONE_BRICK Lnet/minecraft/block/InfestedBlock$Variants;STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
    • MOSSY_STONE_BRICK

      public static final InfestedBlock.Variants MOSSY_STONE_BRICK
      Mappings:
      Namespace Name Mixin selector
      official d Lahz$a;d:Lahz$a;
      intermediary field_1045 Lnet/minecraft/class_248$class_249;field_1045:Lnet/minecraft/class_248$class_249;
      named MOSSY_STONE_BRICK Lnet/minecraft/block/InfestedBlock$Variants;MOSSY_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
    • CRACKED_STONE_BRICK

      public static final InfestedBlock.Variants CRACKED_STONE_BRICK
      Mappings:
      Namespace Name Mixin selector
      official e Lahz$a;e:Lahz$a;
      intermediary field_1046 Lnet/minecraft/class_248$class_249;field_1046:Lnet/minecraft/class_248$class_249;
      named CRACKED_STONE_BRICK Lnet/minecraft/block/InfestedBlock$Variants;CRACKED_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
    • CHISELED_STONE_BRICK

      public static final InfestedBlock.Variants CHISELED_STONE_BRICK
      Mappings:
      Namespace Name Mixin selector
      official f Lahz$a;f:Lahz$a;
      intermediary field_1047 Lnet/minecraft/class_248$class_249;field_1047:Lnet/minecraft/class_248$class_249;
      named CHISELED_STONE_BRICK Lnet/minecraft/block/InfestedBlock$Variants;CHISELED_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
  • Field Details

    • VARIANTS

      private static final InfestedBlock.Variants[] VARIANTS
      Mappings:
      Namespace Name Mixin selector
      official g Lahz$a;g:[Lahz$a;
      intermediary field_1048 Lnet/minecraft/class_248$class_249;field_1048:[Lnet/minecraft/class_248$class_249;
      named VARIANTS Lnet/minecraft/block/InfestedBlock$Variants;VARIANTS:[Lnet/minecraft/block/InfestedBlock$Variants;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official h Lahz$a;h:I
      intermediary field_1049 Lnet/minecraft/class_248$class_249;field_1049:I
      named id Lnet/minecraft/block/InfestedBlock$Variants;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Lahz$a;i:Ljava/lang/String;
      intermediary field_1050 Lnet/minecraft/class_248$class_249;field_1050:Ljava/lang/String;
      named name Lnet/minecraft/block/InfestedBlock$Variants;name:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official j Lahz$a;j:Ljava/lang/String;
      intermediary field_1051 Lnet/minecraft/class_248$class_249;field_1051:Ljava/lang/String;
      named translationKey Lnet/minecraft/block/InfestedBlock$Variants;translationKey:Ljava/lang/String;
  • Constructor Details

    • Variants

      private Variants​(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahz$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_248$class_249;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/block/InfestedBlock$Variants;<init>(Ljava/lang/String;IILjava/lang/String;)V
    • Variants

      private Variants​(int id, String name, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahz$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_248$class_249;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/InfestedBlock$Variants;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static InfestedBlock.Variants[] 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 InfestedBlock.Variants 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lahz$a;a()I
      intermediary method_914 Lnet/minecraft/class_248$class_249;method_914()I
      named getId Lnet/minecraft/block/InfestedBlock$Variants;getId()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<InfestedBlock.Variants>
      Mappings:
      Namespace Name Mixin selector
      official toString Lahz$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_248$class_249;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/InfestedBlock$Variants;toString()Ljava/lang/String;
    • getById

      public static InfestedBlock.Variants getById​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lahz$a;a(I)Lahz$a;
      intermediary method_915 Lnet/minecraft/class_248$class_249;method_915(I)Lnet/minecraft/class_248$class_249;
      named getById Lnet/minecraft/block/InfestedBlock$Variants;getById(I)Lnet/minecraft/block/InfestedBlock$Variants;
    • 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;
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official c Lahz$a;c()Ljava/lang/String;
      intermediary method_917 Lnet/minecraft/class_248$class_249;method_917()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/block/InfestedBlock$Variants;getTranslationKey()Ljava/lang/String;
    • getBlockState

      public abstract BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official d Lahz$a;d()Lalz;
      intermediary method_918 Lnet/minecraft/class_248$class_249;method_918()Lnet/minecraft/class_376;
      named getBlockState Lnet/minecraft/block/InfestedBlock$Variants;getBlockState()Lnet/minecraft/block/BlockState;
    • getByBlockState

      public static InfestedBlock.Variants getByBlockState​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lahz$a;a(Lalz;)Lahz$a;
      intermediary method_916 Lnet/minecraft/class_248$class_249;method_916(Lnet/minecraft/class_376;)Lnet/minecraft/class_248$class_249;
      named getByBlockState Lnet/minecraft/block/InfestedBlock$Variants;getByBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/InfestedBlock$Variants;