Server crashes when using 'game_tick()' function in carpet mod
MediumDifficulty opened this issue ยท 3 comments
Reproduction Steps
- Have Lithium and Carpet mod installed
- Place a Command block and inside have: "script run game_tick()"
- Activate the command block
- The game crashes (If you are using MultiMC that will also hang / crash)
Crash Report File
Crash report: https://gist.github.com/MediumDifficulty/09d588074ba9866e98a6402eb337ace3
Additional Information
Can be fixed by having "mixin.world.tick_scheduler=false" in the Lithium config file
After gnembon explained to me what the command does when ran in a command block (runs tick n+1 when the command block is receiving the tile tick in tick n), I believe it is so unreasonable that we are not going to do any changes to support this operation.
I suggest closing as invalid based on
gnembon/fabric-carpet@51c461f
I added clarification on using game_tick()
that hopefully shed the light on running your own game loop inside the vanilla game loop.