Lithium (Fabric)

Lithium (Fabric)

22M Downloads

Server crashes when using 'game_tick()' function in carpet mod

MediumDifficulty opened this issue ยท 3 comments

commented

Reproduction Steps

  1. Have Lithium and Carpet mod installed
  2. Place a Command block and inside have: "script run game_tick()"
  3. Activate the command block
  4. 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

commented

What are you expecting to happen at 4. instead of the crash?

commented

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.

commented

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.