Enum Class TrialSpawnerLogic.Type

java.lang.Object
java.lang.Enum<TrialSpawnerLogic.Type>
net.minecraft.block.spawner.TrialSpawnerLogic.Type
All Implemented Interfaces:
Serializable, Comparable<TrialSpawnerLogic.Type>, Constable
Enclosing class:
TrialSpawnerLogic

public static enum TrialSpawnerLogic.Type extends Enum<TrialSpawnerLogic.Type>
Mappings:
Namespace Name
named net/minecraft/block/spawner/TrialSpawnerLogic$Type
intermediary net/minecraft/class_8963$class_9474
official drg$a
  • Enum Constant Details

    • NORMAL

      public static final TrialSpawnerLogic.Type NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;NORMAL:Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;
      intermediary field_50186 Lnet/minecraft/class_8963$class_9474;field_50186:Lnet/minecraft/class_8963$class_9474;
      official a Ldrg$a;a:Ldrg$a;
    • OMINOUS

      public static final TrialSpawnerLogic.Type OMINOUS
      Mappings:
      Namespace Name Mixin selector
      named OMINOUS Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;OMINOUS:Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;
      intermediary field_50187 Lnet/minecraft/class_8963$class_9474;field_50187:Lnet/minecraft/class_8963$class_9474;
      official b Ldrg$a;b:Ldrg$a;
  • Field Details

    • particle

      public final SimpleParticleType particle
      Mappings:
      Namespace Name Mixin selector
      named particle Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;particle:Lnet/minecraft/particle/SimpleParticleType;
      intermediary field_50188 Lnet/minecraft/class_8963$class_9474;field_50188:Lnet/minecraft/class_2400;
      official c Ldrg$a;c:Llm;
  • Constructor Details

    • Type

      private Type(SimpleParticleType particle)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;<init>(Ljava/lang/String;ILnet/minecraft/particle/SimpleParticleType;)V
      intermediary <init> Lnet/minecraft/class_8963$class_9474;<init>(Ljava/lang/String;ILnet/minecraft/class_2400;)V
      official <init> Ldrg$a;<init>(Ljava/lang/String;ILlm;)V
  • Method Details

    • values

      public static TrialSpawnerLogic.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 TrialSpawnerLogic.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
    • fromIndex

      public static TrialSpawnerLogic.Type fromIndex(int index)
      Mappings:
      Namespace Name Mixin selector
      named fromIndex Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;fromIndex(I)Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;
      intermediary method_58710 Lnet/minecraft/class_8963$class_9474;method_58710(I)Lnet/minecraft/class_8963$class_9474;
      official a Ldrg$a;a(I)Ldrg$a;
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;getIndex()I
      intermediary method_58709 Lnet/minecraft/class_8963$class_9474;method_58709()I
      official a Ldrg$a;a()I