Package net.minecraft.entity
Enum Class SpawnReason
- All Implemented Interfaces:
Serializable
,Comparable<SpawnReason>
,Constable
- Mappings:
Namespace Name named net/minecraft/entity/SpawnReason
intermediary net/minecraft/class_3730
official bvp
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAnySpawner
(SpawnReason reason) static boolean
isTrialSpawner
(SpawnReason reason) static 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 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
Lbvp;a:Lbvp;
-
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
Lbvp;b:Lbvp;
-
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
Lbvp;c:Lbvp;
-
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
Lbvp;d:Lbvp;
-
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
Lbvp;e:Lbvp;
-
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
Lbvp;f:Lbvp;
-
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
Lbvp;g:Lbvp;
-
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
Lbvp;h:Lbvp;
-
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
Lbvp;i:Lbvp;
-
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
Lbvp;j:Lbvp;
-
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
Lbvp;k:Lbvp;
-
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
Lbvp;l:Lbvp;
-
SPAWN_ITEM_USE
- Mappings:
Namespace Name Mixin selector named SPAWN_ITEM_USE
Lnet/minecraft/entity/SpawnReason;SPAWN_ITEM_USE:Lnet/minecraft/entity/SpawnReason;
intermediary field_16465
Lnet/minecraft/class_3730;field_16465:Lnet/minecraft/class_3730;
official m
Lbvp;m:Lbvp;
-
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
Lbvp;n:Lbvp;
-
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
Lbvp;o:Lbvp;
-
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
Lbvp;p:Lbvp;
-
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
Lbvp;q:Lbvp;
-
LOAD
- Mappings:
Namespace Name Mixin selector named LOAD
Lnet/minecraft/entity/SpawnReason;LOAD:Lnet/minecraft/entity/SpawnReason;
intermediary field_52444
Lnet/minecraft/class_3730;field_52444:Lnet/minecraft/class_3730;
official r
Lbvp;r:Lbvp;
-
DIMENSION_TRAVEL
- Mappings:
Namespace Name Mixin selector named DIMENSION_TRAVEL
Lnet/minecraft/entity/SpawnReason;DIMENSION_TRAVEL:Lnet/minecraft/entity/SpawnReason;
intermediary field_52445
Lnet/minecraft/class_3730;field_52445:Lnet/minecraft/class_3730;
official s
Lbvp;s:Lbvp;
-
-
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 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
Lbvp;a(Lbvp;)Z
-
isTrialSpawner
- 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
Lbvp;b(Lbvp;)Z
-