Adaptive Performance Tweaks: Items

Adaptive Performance Tweaks: Items

7M Downloads

Spawn Eggs not working

FancyFella opened this issue ยท 2 comments

commented

Describe the bug
Adaptive Performance Tweaks: Spawn causes Spawn Eggs to act strange. They'll spawn anywhere from 4-20 mobs just fine, and then just stop working unless you're hundreds of blocks away. I've discovered that this is a problem with the player view optimization, as this bug disappears when I set that optimization to false.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new world
  2. Get a Spawn Egg (I used Chickens)
  3. Spam them on the ground in the same general area
  4. You should then see that they stop spawning (they still make the spawn noise though)

Expected behavior
Spawn Eggs working as intended, allowing me to spawn as many mobs as I wish

Screenshots
N/A

Debugging
[28Oct2024 00:48:04.666] [Server thread/DEBUG] [APTweaks(Spawn)/]: [Spawn Limitations Player] Blocked spawn event for Chicken['Chicken'/1348, l='ServerLevel[New World]', x=62.50, y=-60.00, z=-143.50] with 33 entities of max 32 and 1 players in minecraft:overworld.

commented

Adding to this, I have the same bug with both spawn eggs and spawners in a server world that only began after installing APTweaks Core and APTweaks Spawns servers side. This affects every player.

However, setting "#Enable/Disable player based view area optimization." to false as FancyFella did does not fix the issue. Only removing APTweaks completely does.

commented

It should also be noted that neither the debug nor latest logs even acknowledge when an entity is being blocked, so no hints there. And yes, that is with using both debug commands, moving around/attempting to use spawners or eggs, setting both to false, leaving the world, and checking the logs.