Closed flori-schwa closed 2 years ago
Heyy, IIRC the purpose of this mixin is to allow random ticks in chunk-loaded chunks without the need of the player being nearby. At least that was it on 1.16/1.17. I know it's broken on 1.18 but I haven't got the time to fix it yet.
In that case the return value only needs to be changed from false to true
Yeah, looks like the logic got inverted on 1.18, before that it used to return if the player was too far for it to tick.
All chunk loader issues should be fixed in the latest 1.9.5 release! This PR is no longer needed.
The Mixin removed in this PR prevented calls to:
inside the net.minecraft.server.world.ServerChunkManager#tickChunks method, thus preventing the following in all chunks loaded by kibe, even if players were nearby:
The vanilla behavior of canTickChunk already checks for player proximity, I'm not sure what the initial purpose of this Mixin was, but it was creating some confusion on our modded SMP world.
This behaviour was also submitted as a bug in lucaargolo/kibe#120