Enum Class InfestedBlock.Variants

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

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

    • STONE

      public static final InfestedBlock.Variants STONE
      Mappings:
      Namespace Name Mixin selector
      official a Lamt$a;a:Lamt$a;
      intermediary field_9534 Lnet/minecraft/class_190$class_2198;field_9534:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;b:Lamt$a;
      intermediary field_9535 Lnet/minecraft/class_190$class_2198;field_9535:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;c:Lamt$a;
      intermediary field_9536 Lnet/minecraft/class_190$class_2198;field_9536:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;d:Lamt$a;
      intermediary field_9537 Lnet/minecraft/class_190$class_2198;field_9537:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;e:Lamt$a;
      intermediary field_9538 Lnet/minecraft/class_190$class_2198;field_9538:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;f:Lamt$a;
      intermediary field_9539 Lnet/minecraft/class_190$class_2198;field_9539:Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;g:[Lamt$a;
      intermediary field_9540 Lnet/minecraft/class_190$class_2198;field_9540:[Lnet/minecraft/class_190$class_2198;
      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 Lamt$a;h:I
      intermediary field_9541 Lnet/minecraft/class_190$class_2198;field_9541:I
      named id Lnet/minecraft/block/InfestedBlock$Variants;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Lamt$a;i:Ljava/lang/String;
      intermediary field_9542 Lnet/minecraft/class_190$class_2198;field_9542: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 Lamt$a;j:Ljava/lang/String;
      intermediary field_9543 Lnet/minecraft/class_190$class_2198;field_9543: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> Lamt$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_190$class_2198;<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> Lamt$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_190$class_2198;<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 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 InfestedBlock.Variants 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lamt$a;a()I
      intermediary method_8826 Lnet/minecraft/class_190$class_2198;method_8826()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 Lamt$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_190$class_2198;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 Lamt$a;a(I)Lamt$a;
      intermediary method_8827 Lnet/minecraft/class_190$class_2198;method_8827(I)Lnet/minecraft/class_190$class_2198;
      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 m Lor;m()Ljava/lang/String;
      intermediary method_10853 Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official c Lamt$a;c()Ljava/lang/String;
      intermediary method_8829 Lnet/minecraft/class_190$class_2198;method_8829()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 Lamt$a;d()Lard;
      intermediary method_8830 Lnet/minecraft/class_190$class_2198;method_8830()Lnet/minecraft/class_2232;
      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 Lamt$a;a(Lard;)Lamt$a;
      intermediary method_8828 Lnet/minecraft/class_190$class_2198;method_8828(Lnet/minecraft/class_2232;)Lnet/minecraft/class_190$class_2198;
      named getByBlockState Lnet/minecraft/block/InfestedBlock$Variants;getByBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/InfestedBlock$Variants;