2023-11-11 08:58:28 -05:00
|
|
|
CLASS net/minecraft/class_5304 net/minecraft/world/spawner/SpecialSpawner
|
2022-02-09 06:30:19 -05:00
|
|
|
COMMENT Spawns entities in a world.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>A spawner is typically used to spawn entities within a
|
|
|
|
COMMENT special context, such as cats in a village or wandering traders.
|
|
|
|
COMMENT This is different from
|
2023-11-11 08:58:28 -05:00
|
|
|
COMMENT {@link net.minecraft.block.entity.Spawner the mob spawner logic}
|
2022-03-23 06:38:27 -04:00
|
|
|
COMMENT which is used for {@link net.minecraft.block.SpawnerBlock the spawner block},
|
2022-02-09 06:30:19 -05:00
|
|
|
COMMENT or the structure spawn conditions (such as guardians) which is defined in
|
2022-03-23 06:38:27 -04:00
|
|
|
COMMENT {@link net.minecraft.world.gen.chunk.ChunkGenerator#getEntitySpawnList}.
|
2022-02-09 06:30:19 -05:00
|
|
|
COMMENT However, cats in swamp huts are spawned in both {@link CatSpawner} and
|
|
|
|
COMMENT the normal structure spawning.
|
|
|
|
METHOD method_6445 spawn (Lnet/minecraft/class_3218;ZZ)I
|
|
|
|
COMMENT Spawns entities into a world.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the number of entities spawned
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 spawnMonsters
|
|
|
|
COMMENT whether monsters should be spawned
|
|
|
|
ARG 3 spawnAnimals
|
|
|
|
COMMENT whether animals should be spawned
|