[BUG] Seals fill the ocean with fish drops
saltyseadoggo opened this issue ยท 3 comments
Describe the bug
Seals spawn in valid water biomes and then attack and kill cod and salmon, but they don't eat them; they instead let the dropped cod, salmon and bone meal items float to the surface, where they accumulate over time and could potentially cause issues on servers. This is accurate to vanilla behaviour of other hunting mobs such as wolves or foxes, but they typically do not find nearly as much prey as seals do, due to cod and salmon being so common.
To Reproduce
Steps to reproduce the behavior:
- Create a new world.
- Find a cold ocean with /locatebiome. Identify the local seals.
- Go AFK near where the seals are for about 15 minutes.
- Return to game. Note the abundance of cod, salmon and bone meal items.
Expected behavior
Seals would not generate loads of item entities as they hunt fish. They could actually 'eat' the fish upon killing them, not dropping any items, or they could be made less aggressive about hunting fish, similarly to how Piglins have to decide to hunt Hoglins before they attack them. At the moment, they almost constantly find newly spawned fish to kill.
Mod Versions (please complete the following information):
- Minecraft Version: 1.16.5
- Fabric API Version: 0.30.0
- This Mod's Version: 1.1.0
I will look into getting seals to make them not drop items as a feature renderer for item pickups will simply take too much time for now. Alternatively, I can make seals not hunt fish. I'll probably do both and make it a config option.
I'll second this. I set up my base in a caldera of Terrestria and had to kill the seals because they went nuts on the fish, which is lagging me out. As an alternative idea, you could add a cooldown so that the seals don't constantly are hunting, but maybe chillin' on the beach.