Package net.minecraft.entity
Enum Class SpawnReason
- All Implemented Interfaces:
Serializable,Comparable<SpawnReason>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/SpawnReasonintermediary net/minecraft/class_3730official bus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAnySpawner(SpawnReason reason) static booleanisTrialSpawner(SpawnReason reason) static SpawnReasonReturns the enum constant of this class with the specified name.static SpawnReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NATURAL
- Mappings:
Namespace Name Mixin selector named NATURALLnet/minecraft/entity/SpawnReason;NATURAL:Lnet/minecraft/entity/SpawnReason;intermediary field_16459Lnet/minecraft/class_3730;field_16459:Lnet/minecraft/class_3730;official aLbus;a:Lbus;
-
CHUNK_GENERATION
- Mappings:
Namespace Name Mixin selector named CHUNK_GENERATIONLnet/minecraft/entity/SpawnReason;CHUNK_GENERATION:Lnet/minecraft/entity/SpawnReason;intermediary field_16472Lnet/minecraft/class_3730;field_16472:Lnet/minecraft/class_3730;official bLbus;b:Lbus;
-
SPAWNER
- Mappings:
Namespace Name Mixin selector named SPAWNERLnet/minecraft/entity/SpawnReason;SPAWNER:Lnet/minecraft/entity/SpawnReason;intermediary field_16469Lnet/minecraft/class_3730;field_16469:Lnet/minecraft/class_3730;official cLbus;c:Lbus;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector named STRUCTURELnet/minecraft/entity/SpawnReason;STRUCTURE:Lnet/minecraft/entity/SpawnReason;intermediary field_16474Lnet/minecraft/class_3730;field_16474:Lnet/minecraft/class_3730;official dLbus;d:Lbus;
-
BREEDING
- Mappings:
Namespace Name Mixin selector named BREEDINGLnet/minecraft/entity/SpawnReason;BREEDING:Lnet/minecraft/entity/SpawnReason;intermediary field_16466Lnet/minecraft/class_3730;field_16466:Lnet/minecraft/class_3730;official eLbus;e:Lbus;
-
MOB_SUMMONED
- Mappings:
Namespace Name Mixin selector named MOB_SUMMONEDLnet/minecraft/entity/SpawnReason;MOB_SUMMONED:Lnet/minecraft/entity/SpawnReason;intermediary field_16471Lnet/minecraft/class_3730;field_16471:Lnet/minecraft/class_3730;official fLbus;f:Lbus;
-
JOCKEY
- Mappings:
Namespace Name Mixin selector named JOCKEYLnet/minecraft/entity/SpawnReason;JOCKEY:Lnet/minecraft/entity/SpawnReason;intermediary field_16460Lnet/minecraft/class_3730;field_16460:Lnet/minecraft/class_3730;official gLbus;g:Lbus;
-
EVENT
- Mappings:
Namespace Name Mixin selector named EVENTLnet/minecraft/entity/SpawnReason;EVENT:Lnet/minecraft/entity/SpawnReason;intermediary field_16467Lnet/minecraft/class_3730;field_16467:Lnet/minecraft/class_3730;official hLbus;h:Lbus;
-
CONVERSION
- Mappings:
Namespace Name Mixin selector named CONVERSIONLnet/minecraft/entity/SpawnReason;CONVERSION:Lnet/minecraft/entity/SpawnReason;intermediary field_16468Lnet/minecraft/class_3730;field_16468:Lnet/minecraft/class_3730;official iLbus;i:Lbus;
-
REINFORCEMENT
- Mappings:
Namespace Name Mixin selector named REINFORCEMENTLnet/minecraft/entity/SpawnReason;REINFORCEMENT:Lnet/minecraft/entity/SpawnReason;intermediary field_16463Lnet/minecraft/class_3730;field_16463:Lnet/minecraft/class_3730;official jLbus;j:Lbus;
-
TRIGGERED
- Mappings:
Namespace Name Mixin selector named TRIGGEREDLnet/minecraft/entity/SpawnReason;TRIGGERED:Lnet/minecraft/entity/SpawnReason;intermediary field_16461Lnet/minecraft/class_3730;field_16461:Lnet/minecraft/class_3730;official kLbus;k:Lbus;
-
BUCKET
- Mappings:
Namespace Name Mixin selector named BUCKETLnet/minecraft/entity/SpawnReason;BUCKET:Lnet/minecraft/entity/SpawnReason;intermediary field_16473Lnet/minecraft/class_3730;field_16473:Lnet/minecraft/class_3730;official lLbus;l:Lbus;
-
SPAWN_ITEM_USE
- Mappings:
Namespace Name Mixin selector named SPAWN_ITEM_USELnet/minecraft/entity/SpawnReason;SPAWN_ITEM_USE:Lnet/minecraft/entity/SpawnReason;intermediary field_16465Lnet/minecraft/class_3730;field_16465:Lnet/minecraft/class_3730;official mLbus;m:Lbus;
-
COMMAND
- Mappings:
Namespace Name Mixin selector named COMMANDLnet/minecraft/entity/SpawnReason;COMMAND:Lnet/minecraft/entity/SpawnReason;intermediary field_16462Lnet/minecraft/class_3730;field_16462:Lnet/minecraft/class_3730;official nLbus;n:Lbus;
-
DISPENSER
- Mappings:
Namespace Name Mixin selector named DISPENSERLnet/minecraft/entity/SpawnReason;DISPENSER:Lnet/minecraft/entity/SpawnReason;intermediary field_16470Lnet/minecraft/class_3730;field_16470:Lnet/minecraft/class_3730;official oLbus;o:Lbus;
-
PATROL
- Mappings:
Namespace Name Mixin selector named PATROLLnet/minecraft/entity/SpawnReason;PATROL:Lnet/minecraft/entity/SpawnReason;intermediary field_16527Lnet/minecraft/class_3730;field_16527:Lnet/minecraft/class_3730;official pLbus;p:Lbus;
-
TRIAL_SPAWNER
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNERLnet/minecraft/entity/SpawnReason;TRIAL_SPAWNER:Lnet/minecraft/entity/SpawnReason;intermediary field_47245Lnet/minecraft/class_3730;field_47245:Lnet/minecraft/class_3730;official qLbus;q:Lbus;
-
LOAD
- Mappings:
Namespace Name Mixin selector named LOADLnet/minecraft/entity/SpawnReason;LOAD:Lnet/minecraft/entity/SpawnReason;intermediary field_52444Lnet/minecraft/class_3730;field_52444:Lnet/minecraft/class_3730;official rLbus;r:Lbus;
-
DIMENSION_TRAVEL
- Mappings:
Namespace Name Mixin selector named DIMENSION_TRAVELLnet/minecraft/entity/SpawnReason;DIMENSION_TRAVEL:Lnet/minecraft/entity/SpawnReason;intermediary field_52445Lnet/minecraft/class_3730;field_52445:Lnet/minecraft/class_3730;official sLbus;s:Lbus;
-
-
Constructor Details
-
SpawnReason
private SpawnReason()
-
-
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
-
isAnySpawner
- Mappings:
Namespace Name Mixin selector named isAnySpawnerLnet/minecraft/entity/SpawnReason;isAnySpawner(Lnet/minecraft/entity/SpawnReason;)Zintermediary method_54986Lnet/minecraft/class_3730;method_54986(Lnet/minecraft/class_3730;)Zofficial aLbus;a(Lbus;)Z
-
isTrialSpawner
- Mappings:
Namespace Name Mixin selector named isTrialSpawnerLnet/minecraft/entity/SpawnReason;isTrialSpawner(Lnet/minecraft/entity/SpawnReason;)Zintermediary method_54987Lnet/minecraft/class_3730;method_54987(Lnet/minecraft/class_3730;)Zofficial bLbus;b(Lbus;)Z
-