DarkPacks / SkyFactory-4

SkyFactory 4 offers a brand-new experience never before seen in the series. Full automation, tech, magic, and bacon resources! This iteration offers over 30+ world types so you can play the pack like never before!
https://minecraft.curseforge.com/projects/skyfactory-4/
133 stars 45 forks source link

Apotheosis Spawner w/ Ignore Player Modification does not work #1537

Open BenjaMenja opened 4 years ago

BenjaMenja commented 4 years ago

Bug Description

When I place a Zombie Pigman Spawner from Apotheosis with the "Ignore Nearby Players" Modification and I fly away from it, the spawner stops spawning pigmen. The area is chunkloaded with a weirding gadget. ### Did this behavior use to work in the previous version? I have not tried this bug in previous versions. ## Steps to Reproduce (for bugs)
  1. Place a zombie pigman spawner from Apotheosis with the Ignore Nearby Players Modification (add a nether star to it) and 0 spawn delay (add sugar and clocks).
  2. Place a weirding gadget in the chunk that the spawner is in to load the area.
  3. Place and power a mob crusher to kill the pigmen.
  4. Leave the area by moving 200+ away. Wait a few minutes
  5. You should see that there have been very few to no drops that appeared during those few minutes, indicating that mobs have not spawned.

Logs

World Information

Client Information

Server Information

sam-kirby commented 4 years ago

Note: Need to retest on LAN. Could not reproduce on a dedicated server.

If this is a LAN only issue, then you will have to contact the mod author directly as we do not support Open to LAN play.

BenjaMenja commented 4 years ago

I can now confirm that the issue is that when the player moves too far away from the spawner, the spawner loses the effects of the upgrades that it has. To test, I put an "Ignores Spawn Cap" upgrade in the spawner. Then, standing close to the spawner, run the following command: /forge entity list minecraft:zombie_pigman. You should see a large number (15-40 pigmen). If you fly very far away and run the same command, however, you will see that the pigman count has severely dropped (1-4), confirming that the spawner still works, but the upgrades lose their effects.

crysyn commented 3 years ago

I think this is more likely that they are spawning and instantly despawning when the player is so far away that natural minecraft logic makes it work that way