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$Typeintermediary net/minecraft/class_8963$class_9474official dsf$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrialSpawnerLogic.TypefromIndex(int index) intgetIndex()static TrialSpawnerLogic.TypeReturns 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 NORMALLnet/minecraft/block/spawner/TrialSpawnerLogic$Type;NORMAL:Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;intermediary field_50186Lnet/minecraft/class_8963$class_9474;field_50186:Lnet/minecraft/class_8963$class_9474;official aLdsf$a;a:Ldsf$a;
-
OMINOUS
- Mappings:
Namespace Name Mixin selector named OMINOUSLnet/minecraft/block/spawner/TrialSpawnerLogic$Type;OMINOUS:Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;intermediary field_50187Lnet/minecraft/class_8963$class_9474;field_50187:Lnet/minecraft/class_8963$class_9474;official bLdsf$a;b:Ldsf$a;
-
-
Field Details
-
particle
- Mappings:
Namespace Name Mixin selector named particleLnet/minecraft/block/spawner/TrialSpawnerLogic$Type;particle:Lnet/minecraft/particle/SimpleParticleType;intermediary field_50188Lnet/minecraft/class_8963$class_9474;field_50188:Lnet/minecraft/class_2400;official cLdsf$a;c:Llq;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;<init>(Ljava/lang/String;ILnet/minecraft/particle/SimpleParticleType;)Vintermediary <init>Lnet/minecraft/class_8963$class_9474;<init>(Ljava/lang/String;ILnet/minecraft/class_2400;)Vofficial <init>Ldsf$a;<init>(Ljava/lang/String;ILlq;)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 fromIndexLnet/minecraft/block/spawner/TrialSpawnerLogic$Type;fromIndex(I)Lnet/minecraft/block/spawner/TrialSpawnerLogic$Type;intermediary method_58710Lnet/minecraft/class_8963$class_9474;method_58710(I)Lnet/minecraft/class_8963$class_9474;official aLdsf$a;a(I)Ldsf$a;
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/block/spawner/TrialSpawnerLogic$Type;getIndex()Iintermediary method_58709Lnet/minecraft/class_8963$class_9474;method_58709()Iofficial aLdsf$a;a()I
-