Package net.minecraft.entity
Enum Class SpawnReason
- All Implemented Interfaces:
Serializable
,Comparable<SpawnReason>
,Constable
- Mappings:
Namespace Name official bcg
intermediary net/minecraft/class_3730
named net/minecraft/entity/SpawnReason
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpawnReason
Returns 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 official a
Lbcg;a:Lbcg;
intermediary field_16459
Lnet/minecraft/class_3730;field_16459:Lnet/minecraft/class_3730;
named NATURAL
Lnet/minecraft/entity/SpawnReason;NATURAL:Lnet/minecraft/entity/SpawnReason;
-
CHUNK_GENERATION
- Mappings:
Namespace Name Mixin selector official b
Lbcg;b:Lbcg;
intermediary field_16472
Lnet/minecraft/class_3730;field_16472:Lnet/minecraft/class_3730;
named CHUNK_GENERATION
Lnet/minecraft/entity/SpawnReason;CHUNK_GENERATION:Lnet/minecraft/entity/SpawnReason;
-
SPAWNER
- Mappings:
Namespace Name Mixin selector official c
Lbcg;c:Lbcg;
intermediary field_16469
Lnet/minecraft/class_3730;field_16469:Lnet/minecraft/class_3730;
named SPAWNER
Lnet/minecraft/entity/SpawnReason;SPAWNER:Lnet/minecraft/entity/SpawnReason;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector official d
Lbcg;d:Lbcg;
intermediary field_16474
Lnet/minecraft/class_3730;field_16474:Lnet/minecraft/class_3730;
named STRUCTURE
Lnet/minecraft/entity/SpawnReason;STRUCTURE:Lnet/minecraft/entity/SpawnReason;
-
BREEDING
- Mappings:
Namespace Name Mixin selector official e
Lbcg;e:Lbcg;
intermediary field_16466
Lnet/minecraft/class_3730;field_16466:Lnet/minecraft/class_3730;
named BREEDING
Lnet/minecraft/entity/SpawnReason;BREEDING:Lnet/minecraft/entity/SpawnReason;
-
MOB_SUMMONED
- Mappings:
Namespace Name Mixin selector official f
Lbcg;f:Lbcg;
intermediary field_16471
Lnet/minecraft/class_3730;field_16471:Lnet/minecraft/class_3730;
named MOB_SUMMONED
Lnet/minecraft/entity/SpawnReason;MOB_SUMMONED:Lnet/minecraft/entity/SpawnReason;
-
JOCKEY
- Mappings:
Namespace Name Mixin selector official g
Lbcg;g:Lbcg;
intermediary field_16460
Lnet/minecraft/class_3730;field_16460:Lnet/minecraft/class_3730;
named JOCKEY
Lnet/minecraft/entity/SpawnReason;JOCKEY:Lnet/minecraft/entity/SpawnReason;
-
EVENT
- Mappings:
Namespace Name Mixin selector official h
Lbcg;h:Lbcg;
intermediary field_16467
Lnet/minecraft/class_3730;field_16467:Lnet/minecraft/class_3730;
named EVENT
Lnet/minecraft/entity/SpawnReason;EVENT:Lnet/minecraft/entity/SpawnReason;
-
CONVERSION
- Mappings:
Namespace Name Mixin selector official i
Lbcg;i:Lbcg;
intermediary field_16468
Lnet/minecraft/class_3730;field_16468:Lnet/minecraft/class_3730;
named CONVERSION
Lnet/minecraft/entity/SpawnReason;CONVERSION:Lnet/minecraft/entity/SpawnReason;
-
REINFORCEMENT
- Mappings:
Namespace Name Mixin selector official j
Lbcg;j:Lbcg;
intermediary field_16463
Lnet/minecraft/class_3730;field_16463:Lnet/minecraft/class_3730;
named REINFORCEMENT
Lnet/minecraft/entity/SpawnReason;REINFORCEMENT:Lnet/minecraft/entity/SpawnReason;
-
TRIGGERED
- Mappings:
Namespace Name Mixin selector official k
Lbcg;k:Lbcg;
intermediary field_16461
Lnet/minecraft/class_3730;field_16461:Lnet/minecraft/class_3730;
named TRIGGERED
Lnet/minecraft/entity/SpawnReason;TRIGGERED:Lnet/minecraft/entity/SpawnReason;
-
BUCKET
- Mappings:
Namespace Name Mixin selector official l
Lbcg;l:Lbcg;
intermediary field_16473
Lnet/minecraft/class_3730;field_16473:Lnet/minecraft/class_3730;
named BUCKET
Lnet/minecraft/entity/SpawnReason;BUCKET:Lnet/minecraft/entity/SpawnReason;
-
SPAWN_EGG
- Mappings:
Namespace Name Mixin selector official m
Lbcg;m:Lbcg;
intermediary field_16465
Lnet/minecraft/class_3730;field_16465:Lnet/minecraft/class_3730;
named SPAWN_EGG
Lnet/minecraft/entity/SpawnReason;SPAWN_EGG:Lnet/minecraft/entity/SpawnReason;
-
COMMAND
- Mappings:
Namespace Name Mixin selector official n
Lbcg;n:Lbcg;
intermediary field_16462
Lnet/minecraft/class_3730;field_16462:Lnet/minecraft/class_3730;
named COMMAND
Lnet/minecraft/entity/SpawnReason;COMMAND:Lnet/minecraft/entity/SpawnReason;
-
DISPENSER
- Mappings:
Namespace Name Mixin selector official o
Lbcg;o:Lbcg;
intermediary field_16470
Lnet/minecraft/class_3730;field_16470:Lnet/minecraft/class_3730;
named DISPENSER
Lnet/minecraft/entity/SpawnReason;DISPENSER:Lnet/minecraft/entity/SpawnReason;
-
PATROL
- Mappings:
Namespace Name Mixin selector official p
Lbcg;p:Lbcg;
intermediary field_16527
Lnet/minecraft/class_3730;field_16527:Lnet/minecraft/class_3730;
named PATROL
Lnet/minecraft/entity/SpawnReason;PATROL:Lnet/minecraft/entity/SpawnReason;
-
-
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
-