-
Notifications
You must be signed in to change notification settings - Fork 52
Spawning doesn't work properly #271
Comments
Have u wait and fly around the world about it from some odd reason creepers spawn the most |
I’m not sure what you mean but mobs are definitely broken. |
Do u have plugins that uses its own mod ai like pureenitites, burgerspawners, vanillaenitityai, etc? |
No I am not using any of those plugins with Altay. |
Maybe this is related:
So the default there is False. Maybe we want to ignore the gamerule since there is a config file setting? Or maybe default that to true? Even with the gamerule set to true though all I get are a bunch of Creepers. |
Idk lol not coder because it works for me well... |
pls try latest commits |
Using the latest release I watched a neutral spot in the plains for 1 hour. Results:
No other mobs spawned any where. I have a counter that shows me the number of mobs near me and every now and again the total would double for a second (like it was trying to spawn something) but then immediately go back to the previous value. I am not running any other plugins. There is definitely something wrong here. I don't see a single friendly mob. Perhaps thats what its trying to spawn and failing on? |
I adjusted my debug plugin to print whats spawning and de-spawning. I did this test sitting at the bottom of the ocean, you can see in the log that as soon as the mobs spawn they despawn. |
To dramatically improve spawning I edited src/pocketmine/level/AnimalSpawner.php and made findChunksForSpawning look like:
I tried to do a PR but for some reason it wants to commit ~108 files instead of just the one I changed. Maybe ill keep trying. |
Notes: |
In a FlatWorld standing in one spot for an hour yielded: |
Standing in normal world for an hour yields: |
Nothing else seems to spawn other than Creepers.
The text was updated successfully, but these errors were encountered: