2022-02-09 06:30:19 -05:00
|
|
|
CLASS net/minecraft/class_4274 net/minecraft/world/spawner/CatSpawner
|
|
|
|
COMMENT A spawner for cats in villages and swamp huts.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote Cats in swamp huts are also spawned 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
|
|
|
FIELD field_19171 cooldown I
|
|
|
|
FIELD field_30601 SPAWN_INTERVAL I
|
|
|
|
METHOD method_20260 spawnInSwampHut (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)I
|
|
|
|
COMMENT Tries to spawn cats in swamp huts.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the number of cats spawned
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 pos
|
|
|
|
METHOD method_20262 spawn (Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)I
|
|
|
|
COMMENT Spawns a cat.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the number of cats spawned
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 world
|
|
|
|
METHOD method_20263 spawnInHouse (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)I
|
|
|
|
COMMENT Tries to spawn cats in villages.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the number of cats spawned
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote Cats spawn when there are more than 5 occupied beds and less than 5 existing cats.
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 pos
|