#Chest Sorter
1 messages · Page 1 of 1 (latest)
you need to sync inventories with the server
iirc client side only sorting is done by stimulating the moves
Ah okay that makes sense
And is there like a mixin I can use to override the chest ui? Or at least extend the chest ui
there are no predefined mixins. you'll have to find where things happen in vanilla Minecraft and then change the code as you need using mixins
Fair enough
Hmm yeah I am trying to find the chest screen rn.. Can't seem to find it..
Thinking it might be GenericContainerScreen?
Ah yeah, I see it now HandledScreens.java has the generic inventory sizes
Hmmm so how would I go about actually adding a UI option, I managed to inject into the render function, do I need some 3rd party library?
Okay got it, now gotta use the ButtonWidget properly and retrieve the chest contents
Still wanna be able to juse follow the original extends and implement pattern tho..