Enum Class SpawnReason

java.lang.Object
java.lang.Enum<SpawnReason>
net.minecraft.entity.SpawnReason
All Implemented Interfaces:
Serializable, Comparable<SpawnReason>, Constable

public enum SpawnReason extends Enum<SpawnReason>
Mappings:
Namespace Name
named net/minecraft/entity/SpawnReason
intermediary net/minecraft/class_3730
official btu
  • Enum Constant Details

    • NATURAL

      public static final SpawnReason NATURAL
      Mappings:
      Namespace Name Mixin selector
      named NATURAL Lnet/minecraft/entity/SpawnReason;NATURAL:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16459 Lnet/minecraft/class_3730;field_16459:Lnet/minecraft/class_3730;
      official a Lbtu;a:Lbtu;
    • CHUNK_GENERATION

      public static final SpawnReason CHUNK_GENERATION
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_GENERATION Lnet/minecraft/entity/SpawnReason;CHUNK_GENERATION:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16472 Lnet/minecraft/class_3730;field_16472:Lnet/minecraft/class_3730;
      official b Lbtu;b:Lbtu;
    • SPAWNER

      public static final SpawnReason SPAWNER
      Mappings:
      Namespace Name Mixin selector
      named SPAWNER Lnet/minecraft/entity/SpawnReason;SPAWNER:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16469 Lnet/minecraft/class_3730;field_16469:Lnet/minecraft/class_3730;
      official c Lbtu;c:Lbtu;
    • STRUCTURE

      public static final SpawnReason STRUCTURE
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE Lnet/minecraft/entity/SpawnReason;STRUCTURE:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16474 Lnet/minecraft/class_3730;field_16474:Lnet/minecraft/class_3730;
      official d Lbtu;d:Lbtu;
    • BREEDING

      public static final SpawnReason BREEDING
      Mappings:
      Namespace Name Mixin selector
      named BREEDING Lnet/minecraft/entity/SpawnReason;BREEDING:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16466 Lnet/minecraft/class_3730;field_16466:Lnet/minecraft/class_3730;
      official e Lbtu;e:Lbtu;
    • MOB_SUMMONED

      public static final SpawnReason MOB_SUMMONED
      Mappings:
      Namespace Name Mixin selector
      named MOB_SUMMONED Lnet/minecraft/entity/SpawnReason;MOB_SUMMONED:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16471 Lnet/minecraft/class_3730;field_16471:Lnet/minecraft/class_3730;
      official f Lbtu;f:Lbtu;
    • JOCKEY

      public static final SpawnReason JOCKEY
      Mappings:
      Namespace Name Mixin selector
      named JOCKEY Lnet/minecraft/entity/SpawnReason;JOCKEY:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16460 Lnet/minecraft/class_3730;field_16460:Lnet/minecraft/class_3730;
      official g Lbtu;g:Lbtu;
    • EVENT

      public static final SpawnReason EVENT
      Mappings:
      Namespace Name Mixin selector
      named EVENT Lnet/minecraft/entity/SpawnReason;EVENT:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16467 Lnet/minecraft/class_3730;field_16467:Lnet/minecraft/class_3730;
      official h Lbtu;h:Lbtu;
    • CONVERSION

      public static final SpawnReason CONVERSION
      Mappings:
      Namespace Name Mixin selector
      named CONVERSION Lnet/minecraft/entity/SpawnReason;CONVERSION:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16468 Lnet/minecraft/class_3730;field_16468:Lnet/minecraft/class_3730;
      official i Lbtu;i:Lbtu;
    • REINFORCEMENT

      public static final SpawnReason REINFORCEMENT
      Mappings:
      Namespace Name Mixin selector
      named REINFORCEMENT Lnet/minecraft/entity/SpawnReason;REINFORCEMENT:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16463 Lnet/minecraft/class_3730;field_16463:Lnet/minecraft/class_3730;
      official j Lbtu;j:Lbtu;
    • TRIGGERED

      public static final SpawnReason TRIGGERED
      Mappings:
      Namespace Name Mixin selector
      named TRIGGERED Lnet/minecraft/entity/SpawnReason;TRIGGERED:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16461 Lnet/minecraft/class_3730;field_16461:Lnet/minecraft/class_3730;
      official k Lbtu;k:Lbtu;
    • BUCKET

      public static final SpawnReason BUCKET
      Mappings:
      Namespace Name Mixin selector
      named BUCKET Lnet/minecraft/entity/SpawnReason;BUCKET:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16473 Lnet/minecraft/class_3730;field_16473:Lnet/minecraft/class_3730;
      official l Lbtu;l:Lbtu;
    • SPAWN_EGG

      public static final SpawnReason SPAWN_EGG
      Mappings:
      Namespace Name Mixin selector
      named SPAWN_EGG Lnet/minecraft/entity/SpawnReason;SPAWN_EGG:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16465 Lnet/minecraft/class_3730;field_16465:Lnet/minecraft/class_3730;
      official m Lbtu;m:Lbtu;
    • COMMAND

      public static final SpawnReason COMMAND
      Mappings:
      Namespace Name Mixin selector
      named COMMAND Lnet/minecraft/entity/SpawnReason;COMMAND:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16462 Lnet/minecraft/class_3730;field_16462:Lnet/minecraft/class_3730;
      official n Lbtu;n:Lbtu;
    • DISPENSER

      public static final SpawnReason DISPENSER
      Mappings:
      Namespace Name Mixin selector
      named DISPENSER Lnet/minecraft/entity/SpawnReason;DISPENSER:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16470 Lnet/minecraft/class_3730;field_16470:Lnet/minecraft/class_3730;
      official o Lbtu;o:Lbtu;
    • PATROL

      public static final SpawnReason PATROL
      Mappings:
      Namespace Name Mixin selector
      named PATROL Lnet/minecraft/entity/SpawnReason;PATROL:Lnet/minecraft/entity/SpawnReason;
      intermediary field_16527 Lnet/minecraft/class_3730;field_16527:Lnet/minecraft/class_3730;
      official p Lbtu;p:Lbtu;
    • TRIAL_SPAWNER

      public static final SpawnReason TRIAL_SPAWNER
      Mappings:
      Namespace Name Mixin selector
      named TRIAL_SPAWNER Lnet/minecraft/entity/SpawnReason;TRIAL_SPAWNER:Lnet/minecraft/entity/SpawnReason;
      intermediary field_47245 Lnet/minecraft/class_3730;field_47245:Lnet/minecraft/class_3730;
      official q Lbtu;q:Lbtu;
  • Constructor Details

    • SpawnReason

      private SpawnReason()
  • Method Details

    • values

      public static SpawnReason[] 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 SpawnReason 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
    • isAnySpawner

      public static boolean isAnySpawner(SpawnReason reason)
      Mappings:
      Namespace Name Mixin selector
      named isAnySpawner Lnet/minecraft/entity/SpawnReason;isAnySpawner(Lnet/minecraft/entity/SpawnReason;)Z
      intermediary method_54986 Lnet/minecraft/class_3730;method_54986(Lnet/minecraft/class_3730;)Z
      official a Lbtu;a(Lbtu;)Z
    • isTrialSpawner

      public static boolean isTrialSpawner(SpawnReason reason)
      Mappings:
      Namespace Name Mixin selector
      named isTrialSpawner Lnet/minecraft/entity/SpawnReason;isTrialSpawner(Lnet/minecraft/entity/SpawnReason;)Z
      intermediary method_54987 Lnet/minecraft/class_3730;method_54987(Lnet/minecraft/class_3730;)Z
      official b Lbtu;b(Lbtu;)Z