Enum Class TrialSpawnerState

java.lang.Object
java.lang.Enum<TrialSpawnerState>
net.minecraft.block.enums.TrialSpawnerState
All Implemented Interfaces:
Serializable, Comparable<TrialSpawnerState>, Constable, StringIdentifiable

public enum TrialSpawnerState extends Enum<TrialSpawnerState> implements StringIdentifiable
Mappings:
Namespace Name
official diu
intermediary net/minecraft/class_8967
named net/minecraft/block/enums/TrialSpawnerState
  • Enum Constant Details

    • INACTIVE

      public static final TrialSpawnerState INACTIVE
      Mappings:
      Namespace Name Mixin selector
      official a Ldiu;a:Ldiu;
      intermediary field_47383 Lnet/minecraft/class_8967;field_47383:Lnet/minecraft/class_8967;
      named INACTIVE Lnet/minecraft/block/enums/TrialSpawnerState;INACTIVE:Lnet/minecraft/block/enums/TrialSpawnerState;
    • WAITING_FOR_PLAYERS

      public static final TrialSpawnerState WAITING_FOR_PLAYERS
      Mappings:
      Namespace Name Mixin selector
      official b Ldiu;b:Ldiu;
      intermediary field_47384 Lnet/minecraft/class_8967;field_47384:Lnet/minecraft/class_8967;
      named WAITING_FOR_PLAYERS Lnet/minecraft/block/enums/TrialSpawnerState;WAITING_FOR_PLAYERS:Lnet/minecraft/block/enums/TrialSpawnerState;
    • ACTIVE

      public static final TrialSpawnerState ACTIVE
      Mappings:
      Namespace Name Mixin selector
      official c Ldiu;c:Ldiu;
      intermediary field_47385 Lnet/minecraft/class_8967;field_47385:Lnet/minecraft/class_8967;
      named ACTIVE Lnet/minecraft/block/enums/TrialSpawnerState;ACTIVE:Lnet/minecraft/block/enums/TrialSpawnerState;
    • WAITING_FOR_REWARD_EJECTION

      public static final TrialSpawnerState WAITING_FOR_REWARD_EJECTION
      Mappings:
      Namespace Name Mixin selector
      official d Ldiu;d:Ldiu;
      intermediary field_47386 Lnet/minecraft/class_8967;field_47386:Lnet/minecraft/class_8967;
      named WAITING_FOR_REWARD_EJECTION Lnet/minecraft/block/enums/TrialSpawnerState;WAITING_FOR_REWARD_EJECTION:Lnet/minecraft/block/enums/TrialSpawnerState;
    • EJECTING_REWARD

      public static final TrialSpawnerState EJECTING_REWARD
      Mappings:
      Namespace Name Mixin selector
      official e Ldiu;e:Ldiu;
      intermediary field_47387 Lnet/minecraft/class_8967;field_47387:Lnet/minecraft/class_8967;
      named EJECTING_REWARD Lnet/minecraft/block/enums/TrialSpawnerState;EJECTING_REWARD:Lnet/minecraft/block/enums/TrialSpawnerState;
    • COOLDOWN

      public static final TrialSpawnerState COOLDOWN
      Mappings:
      Namespace Name Mixin selector
      official f Ldiu;f:Ldiu;
      intermediary field_47388 Lnet/minecraft/class_8967;field_47388:Lnet/minecraft/class_8967;
      named COOLDOWN Lnet/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 g Ldiu;g:F
      intermediary field_47389 Lnet/minecraft/class_8967;field_47389:F
      named START_EJECTING_REWARDS_COOLDOWN Lnet/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 h Ldiu;h:I
      intermediary field_47390 Lnet/minecraft/class_8967;field_47390:I
      named BETWEEN_EJECTING_REWARDS_COOLDOWN Lnet/minecraft/block/enums/TrialSpawnerState;BETWEEN_EJECTING_REWARDS_COOLDOWN:I
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official i Ldiu;i:Ljava/lang/String;
      intermediary field_47391 Lnet/minecraft/class_8967;field_47391:Ljava/lang/String;
      named id Lnet/minecraft/block/enums/TrialSpawnerState;id:Ljava/lang/String;
    • luminance

      private final int luminance
      Mappings:
      Namespace Name Mixin selector
      official j Ldiu;j:I
      intermediary field_47392 Lnet/minecraft/class_8967;field_47392:I
      named luminance Lnet/minecraft/block/enums/TrialSpawnerState;luminance:I
    • displayRotationSpeed

      private final double displayRotationSpeed
      Mappings:
      Namespace Name Mixin selector
      official k Ldiu;k:D
      intermediary field_47393 Lnet/minecraft/class_8967;field_47393:D
      named displayRotationSpeed Lnet/minecraft/block/enums/TrialSpawnerState;displayRotationSpeed:D
    • particleEmitter

      private final TrialSpawnerState.ParticleEmitter particleEmitter
      Mappings:
      Namespace Name Mixin selector
      official l Ldiu;l:Ldiu$b;
      intermediary field_47394 Lnet/minecraft/class_8967;field_47394:Lnet/minecraft/class_8967$class_8969;
      named particleEmitter Lnet/minecraft/block/enums/TrialSpawnerState;particleEmitter:Lnet/minecraft/block/enums/TrialSpawnerState$ParticleEmitter;
    • playsSound

      private final boolean playsSound
      Mappings:
      Namespace Name Mixin selector
      official m Ldiu;m:Z
      intermediary field_47395 Lnet/minecraft/class_8967;field_47395:Z
      named playsSound Lnet/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)V
      intermediary <init> Lnet/minecraft/class_8967;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/class_8967$class_8969;DZ)V
      named <init> Lnet/minecraft/block/enums/TrialSpawnerState;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/block/enums/TrialSpawnerState$ParticleEmitter;DZ)V
  • Method Details

    • values

      public static TrialSpawnerState[] 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 TrialSpawnerState 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
    • tick

      Mappings:
      Namespace Name Mixin selector
      official a Ldiu;a(Lhx;Ldir;Land;)Ldiu;
      intermediary method_55214 Lnet/minecraft/class_8967;method_55214(Lnet/minecraft/class_2338;Lnet/minecraft/class_8963;Lnet/minecraft/class_3218;)Lnet/minecraft/class_8967;
      named tick Lnet/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 a Ldiu;a()I
      intermediary method_55209 Lnet/minecraft/class_8967;method_55209()I
      named getLuminance Lnet/minecraft/block/enums/TrialSpawnerState;getLuminance()I
    • getDisplayRotationSpeed

      public double getDisplayRotationSpeed()
      Mappings:
      Namespace Name Mixin selector
      official b Ldiu;b()D
      intermediary method_55215 Lnet/minecraft/class_8967;method_55215()D
      named getDisplayRotationSpeed Lnet/minecraft/block/enums/TrialSpawnerState;getDisplayRotationSpeed()D
    • doesDisplayRotate

      public boolean doesDisplayRotate()
      Mappings:
      Namespace Name Mixin selector
      official d Ldiu;d()Z
      intermediary method_55216 Lnet/minecraft/class_8967;method_55216()Z
      named doesDisplayRotate Lnet/minecraft/block/enums/TrialSpawnerState;doesDisplayRotate()Z
    • playsSound

      public boolean playsSound()
      Mappings:
      Namespace Name Mixin selector
      official e Ldiu;e()Z
      intermediary method_55217 Lnet/minecraft/class_8967;method_55217()Z
      named playsSound Lnet/minecraft/block/enums/TrialSpawnerState;playsSound()Z
    • emitParticles

      public void emitParticles(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldiu;a(Lctp;Lhx;)V
      intermediary method_55210 Lnet/minecraft/class_8967;method_55210(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named emitParticles Lnet/minecraft/block/enums/TrialSpawnerState;emitParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lavk;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;