Chest Auto Sort


Automatically sorts any opened chests, warehouses, or cargo wagons.

Tweaks
1 year, 1 month ago
1.1 - 2.0
46.8K
Storage

i performance limitations

3 years ago

sorry, but you could have used on_gui_opened instead of on_tick
and it was a more efficient thing on the performance side instead of rearranging 60 times per second the chest when it is opened by a player

3 years ago

Have you actually tested the performance in the game?
For me, the mod uses less than 0.02 ms when outside of a chest gui and ~0.1 ms when inside a chest. This is basically nothing.

The reason I don't use on_gui_opened is because I want the chest to be sorted even when the player is inside the gui, just like how the player's inventory works.

1 year, 21 days ago

I do not think of

1 year, 21 days ago

on_gui_opened is better