Package net.minecraft.block.spawner
Enum Class TrialSpawnerLogic.Type
- All Implemented Interfaces:
Serializable
,Comparable<TrialSpawnerLogic.Type>
,Constable
- Enclosing class:
TrialSpawnerLogic
- Mappings:
Namespace Name named net/minecraft/block/spawner/TrialSpawnerLogic$Type
intermediary net/minecraft/class_8963$class_9474
official drh$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrialSpawnerLogic.Type
fromIndex
(int index) int
getIndex()
static TrialSpawnerLogic.Type
Returns the enum constant of this class with the specified name.static TrialSpawnerLogic.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Ldrh$a;a:Ldrh$a;
-
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
Ldrh$a;b:Ldrh$a;
-
-
Field Details
-
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
Ldrh$a;c:Llm;
-
-
Constructor Details
-
Type
- 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>
Ldrh$a;<init>(Ljava/lang/String;ILlm;)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromIndex
- 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
Ldrh$a;a(I)Ldrh$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
Ldrh$a;a()I
-