mojira.dev
MC-259712

Simple datapack massively reduces mob spawns

In my previous issue, MC-259286 Hostile Mobs barely spawning, I was barely getting any mobs spawning at all, and the few that were seemed to either be drowneds in oceans or the the rest were concentrated in mineshafts. I decided to remove all world generation changes to see if that would fix the lack of mobs spawning.

 

It did not. Shown in the images below is the results of doing /effect give @e glowing both with and without the pack.

 

So the bug is that simple datapacks that only change recipes, loot tables, and run functions MASSIVELY decrease mob spawns?

 

The datapack is inside the zip file by the way

Attachments

Comments 7

We're not going to browse through 100+ files to try and find the cause of the issue. Attach a minimal setup data pack for reproduction, and isolate the issue.

My guess would be functions killing certain entity types.

Im in the process of doing more testing. thanks

Update, it seems to be caused by one particular custom achievement/recipe? I see no reason why that should affect spawns, but when removed seems to increase them.

 

Added "megapack copy", which is the recipe/achievement isolated, and it does seem to decrease spawns some, but it is far worse when used with the rest of my pack. The only mobs that seem to be spawning are squids and ones in mineshafts

Please check if the issue still occur in 1.19.4.

Added new screenshot. I dont understand why, there is nothing about mineshafts or mobs

Your updated pack still has some worldgen files (it's redefining vanilla biome and structure tags), not just a recipe and advancement. Also be mindful that removing worldgen files from a data pack doesn't necessarily affect the world containing it, even after relogging. Judging by the moss blocks in your screenshots, you're using a world whose generation has been modified to test this issue. Please check if you can reproduce this using a newly created world, without modifying the world generation.

Those actually arent moss blocks, that is a "lower side" texture pack for grass blocks. That was a newly created world

aceplante

(Unassigned)

Unconfirmed

(Unassigned)

1.19.3

Retrieved