You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chest sorting system doesn't currently work with barrels and barrels have a couple of advantages over chests.
Luckily the api for the chest and barrel is identical except for the getBlockInventory() method which is not being used. The casting may be an issue but if you make the sort_chest() method generic and pass the Chest or Barrel type
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion, I can definitely implement this in the next update.
The casting shouldn't be an issue, as I am only using the Container and the BlockState interfaces, which both of them implement anyways. There will always be the special code for double chests, but this shouldn't be a problem either.
I'll leave this open until I get around to do some coding.
The chest sorting system doesn't currently work with barrels and barrels have a couple of advantages over chests.
Luckily the api for the chest and barrel is identical except for the
getBlockInventory()
method which is not being used. The casting may be an issue but if you make thesort_chest()
method generic and pass theChest
orBarrel
typeThe text was updated successfully, but these errors were encountered: