mirror of https://github.com/FabricMC/yarn.git
14 lines
556 B
Plaintext
14 lines
556 B
Plaintext
CLASS net/minecraft/class_5304 net/minecraft/world/gen/Spawner
|
|
COMMENT Handles spawning entities in a world.
|
|
COMMENT
|
|
COMMENT <p>A spawner is typically used to spawn entities within a special context, such as cats in a village or wandering traders.
|
|
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
|