[add] Monkey

This commit is contained in:
2026-09-28 22:26:39 +02:00
parent f8c4e0f31d
commit b3b4b1751d
26 changed files with 374 additions and 15 deletions
@@ -28,6 +28,7 @@ public class ModBiomeModifiers {
public static final ResourceKey<BiomeModifier> SPAWN_HEDGEHOG = registerKey("spawn_hedgehog");
public static final ResourceKey<BiomeModifier> SPAWN_RED_PANDA = registerKey("spawn_red_panda");
public static final ResourceKey<BiomeModifier> SPAWN_BUTTERFLY = registerKey("spawn_butterfly");
public static final ResourceKey<BiomeModifier> SPAWN_MONKEY = registerKey("spawn_monkey");
public static void bootstrap(BootstrapContext<BiomeModifier> context) {
var placedFeatures = context.lookup(Registries.PLACED_FEATURE);
@@ -64,7 +65,7 @@ public class ModBiomeModifiers {
biomes.getOrThrow(Biomes.PLAINS),
biomes.getOrThrow(Biomes.SUNFLOWER_PLAINS),
biomes.getOrThrow(Biomes.MEADOW)),
ModEntities.ROOSTER.get(), 10, 2, 3);
ModEntities.ROOSTER.get(), 5, 2, 3);
addSpawn(context, SPAWN_SHARK,
biomes.getOrThrow(BiomeTags.IS_OCEAN),
@@ -81,6 +82,11 @@ public class ModBiomeModifiers {
biomes.getOrThrow(Biomes.CHERRY_GROVE)),
ModEntities.RED_PANDA.get(), 8, 1, 3);
addSpawn(context, SPAWN_MONKEY,
HolderSet.direct(
biomes.getOrThrow(Biomes.JUNGLE)),
ModEntities.MONKEY.get(), 9, 2, 5);
addSpawn(context, SPAWN_BUTTERFLY,
HolderSet.direct(
biomes.getOrThrow(Biomes.FLOWER_FOREST),