Chest Auto Sort


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

Tweaks
10 months ago
1.1 - 2.0
43.7K
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.

10 months ago

I do not think of

10 months ago

on_gui_opened is better