Package net.minecraft.block.enums
Enum Class TrialSpawnerState
- All Implemented Interfaces:
Serializable,Comparable<TrialSpawnerState>,Constable,StringIdentifiable
- Mappings:
Namespace Name official diuintermediary net/minecraft/class_8967named net/minecraft/block/enums/TrialSpawnerState
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static interfaceNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final doubleprivate final Stringprivate final intprivate final TrialSpawnerState.ParticleEmitterprivate final booleanprivate static final floatFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTrialSpawnerState(String id, int luminance, TrialSpawnerState.ParticleEmitter particleEmitter, double displayRotationSpeed, boolean playsSound) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.booleanvoidemitParticles(World world, BlockPos pos) doubleintboolean(package private) TrialSpawnerStatetick(BlockPos pos, TrialSpawnerLogic logic, ServerWorld world) static TrialSpawnerStateReturns the enum constant of this class with the specified name.static TrialSpawnerState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INACTIVE
- Mappings:
Namespace Name Mixin selector official aLdiu;a:Ldiu;intermediary field_47383Lnet/minecraft/class_8967;field_47383:Lnet/minecraft/class_8967;named INACTIVELnet/minecraft/block/enums/TrialSpawnerState;INACTIVE:Lnet/minecraft/block/enums/TrialSpawnerState;
-
WAITING_FOR_PLAYERS
- Mappings:
Namespace Name Mixin selector official bLdiu;b:Ldiu;intermediary field_47384Lnet/minecraft/class_8967;field_47384:Lnet/minecraft/class_8967;named WAITING_FOR_PLAYERSLnet/minecraft/block/enums/TrialSpawnerState;WAITING_FOR_PLAYERS:Lnet/minecraft/block/enums/TrialSpawnerState;
-
ACTIVE
- Mappings:
Namespace Name Mixin selector official cLdiu;c:Ldiu;intermediary field_47385Lnet/minecraft/class_8967;field_47385:Lnet/minecraft/class_8967;named ACTIVELnet/minecraft/block/enums/TrialSpawnerState;ACTIVE:Lnet/minecraft/block/enums/TrialSpawnerState;
-
WAITING_FOR_REWARD_EJECTION
- Mappings:
Namespace Name Mixin selector official dLdiu;d:Ldiu;intermediary field_47386Lnet/minecraft/class_8967;field_47386:Lnet/minecraft/class_8967;named WAITING_FOR_REWARD_EJECTIONLnet/minecraft/block/enums/TrialSpawnerState;WAITING_FOR_REWARD_EJECTION:Lnet/minecraft/block/enums/TrialSpawnerState;
-
EJECTING_REWARD
- Mappings:
Namespace Name Mixin selector official eLdiu;e:Ldiu;intermediary field_47387Lnet/minecraft/class_8967;field_47387:Lnet/minecraft/class_8967;named EJECTING_REWARDLnet/minecraft/block/enums/TrialSpawnerState;EJECTING_REWARD:Lnet/minecraft/block/enums/TrialSpawnerState;
-
COOLDOWN
- Mappings:
Namespace Name Mixin selector official fLdiu;f:Ldiu;intermediary field_47388Lnet/minecraft/class_8967;field_47388:Lnet/minecraft/class_8967;named COOLDOWNLnet/minecraft/block/enums/TrialSpawnerState;COOLDOWN:Lnet/minecraft/block/enums/TrialSpawnerState;
-
-
Field Details
-
START_EJECTING_REWARDS_COOLDOWN
private static final float START_EJECTING_REWARDS_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official gLdiu;g:Fintermediary field_47389Lnet/minecraft/class_8967;field_47389:Fnamed START_EJECTING_REWARDS_COOLDOWNLnet/minecraft/block/enums/TrialSpawnerState;START_EJECTING_REWARDS_COOLDOWN:F
-
BETWEEN_EJECTING_REWARDS_COOLDOWN
private static final int BETWEEN_EJECTING_REWARDS_COOLDOWN- Mappings:
Namespace Name Mixin selector official hLdiu;h:Iintermediary field_47390Lnet/minecraft/class_8967;field_47390:Inamed BETWEEN_EJECTING_REWARDS_COOLDOWNLnet/minecraft/block/enums/TrialSpawnerState;BETWEEN_EJECTING_REWARDS_COOLDOWN:I
-
id
- Mappings:
Namespace Name Mixin selector official iLdiu;i:Ljava/lang/String;intermediary field_47391Lnet/minecraft/class_8967;field_47391:Ljava/lang/String;named idLnet/minecraft/block/enums/TrialSpawnerState;id:Ljava/lang/String;
-
luminance
private final int luminance- Mappings:
Namespace Name Mixin selector official jLdiu;j:Iintermediary field_47392Lnet/minecraft/class_8967;field_47392:Inamed luminanceLnet/minecraft/block/enums/TrialSpawnerState;luminance:I
-
displayRotationSpeed
private final double displayRotationSpeed- Mappings:
Namespace Name Mixin selector official kLdiu;k:Dintermediary field_47393Lnet/minecraft/class_8967;field_47393:Dnamed displayRotationSpeedLnet/minecraft/block/enums/TrialSpawnerState;displayRotationSpeed:D
-
particleEmitter
- Mappings:
Namespace Name Mixin selector official lLdiu;l:Ldiu$b;intermediary field_47394Lnet/minecraft/class_8967;field_47394:Lnet/minecraft/class_8967$class_8969;named particleEmitterLnet/minecraft/block/enums/TrialSpawnerState;particleEmitter:Lnet/minecraft/block/enums/TrialSpawnerState$ParticleEmitter;
-
playsSound
private final boolean playsSound- Mappings:
Namespace Name Mixin selector official mLdiu;m:Zintermediary field_47395Lnet/minecraft/class_8967;field_47395:Znamed playsSoundLnet/minecraft/block/enums/TrialSpawnerState;playsSound:Z
-
-
Constructor Details
-
TrialSpawnerState
private TrialSpawnerState(String id, int luminance, TrialSpawnerState.ParticleEmitter particleEmitter, double displayRotationSpeed, boolean playsSound) - Mappings:
Namespace Name Mixin selector official <init>Ldiu;<init>(Ljava/lang/String;ILjava/lang/String;ILdiu$b;DZ)Vintermediary <init>Lnet/minecraft/class_8967;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/class_8967$class_8969;DZ)Vnamed <init>Lnet/minecraft/block/enums/TrialSpawnerState;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/block/enums/TrialSpawnerState$ParticleEmitter;DZ)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
-
tick
- Mappings:
Namespace Name Mixin selector official aLdiu;a(Lhx;Ldir;Land;)Ldiu;intermediary method_55214Lnet/minecraft/class_8967;method_55214(Lnet/minecraft/class_2338;Lnet/minecraft/class_8963;Lnet/minecraft/class_3218;)Lnet/minecraft/class_8967;named tickLnet/minecraft/block/enums/TrialSpawnerState;tick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/spawner/TrialSpawnerLogic;Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/block/enums/TrialSpawnerState;
-
getLuminance
public int getLuminance()- Mappings:
Namespace Name Mixin selector official aLdiu;a()Iintermediary method_55209Lnet/minecraft/class_8967;method_55209()Inamed getLuminanceLnet/minecraft/block/enums/TrialSpawnerState;getLuminance()I
-
getDisplayRotationSpeed
public double getDisplayRotationSpeed()- Mappings:
Namespace Name Mixin selector official bLdiu;b()Dintermediary method_55215Lnet/minecraft/class_8967;method_55215()Dnamed getDisplayRotationSpeedLnet/minecraft/block/enums/TrialSpawnerState;getDisplayRotationSpeed()D
-
doesDisplayRotate
public boolean doesDisplayRotate()- Mappings:
Namespace Name Mixin selector official dLdiu;d()Zintermediary method_55216Lnet/minecraft/class_8967;method_55216()Znamed doesDisplayRotateLnet/minecraft/block/enums/TrialSpawnerState;doesDisplayRotate()Z
-
playsSound
public boolean playsSound()- Mappings:
Namespace Name Mixin selector official eLdiu;e()Zintermediary method_55217Lnet/minecraft/class_8967;method_55217()Znamed playsSoundLnet/minecraft/block/enums/TrialSpawnerState;playsSound()Z
-
emitParticles
- Mappings:
Namespace Name Mixin selector official aLdiu;a(Lctp;Lhx;)Vintermediary method_55210Lnet/minecraft/class_8967;method_55210(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed emitParticlesLnet/minecraft/block/enums/TrialSpawnerState;emitParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLavk;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-