EntitySpawnReason .java
net.minecraft.world.entity.EntitySpawnReason (enum): members: NATURAL, CHUNK_GENERATION, SPAWNER, STRUCTURE, BREEDING, MOB_SUMMONED, JOCKEY, EVENT, BUCKET.
File
API Surface (2)
boolean isSpawner(final EntitySpawnReason reason)boolean ignoresLightRequirements(final EntitySpawnReason reason)Fields & Constants (9)
CHUNK_GENERATIONSTRUCTUREMOB_SUMMONEDEVENTREINFORCEMENTBUCKETCOMMANDPATROLLOADSame Package (84)
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
Decompiled Minecraft 26.3 source of EntitySpawnReason (net/minecraft/world/entity/EntitySpawnReason.java) with Mojang official mappings, stored verbatim on the site.