Chest Auto Sort


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

Tweaks
a month ago
1.1 - 2.0
30.2K
Storage

i performance limitations

2 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

2 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.

a month ago

I do not think of

a month ago

on_gui_opened is better

New response