GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
234 stars 128 forks source link

Migrate GTItembars to use forge's ItemDecorations rather than a mixin #1469

Closed Thepigcat76 closed 1 week ago

Thepigcat76 commented 1 week ago

What

This pr changes GT(Item/Tool)Bars to use the IItemDecorator interface for rendering and registers it in the ClientProxy. This removes the GuiGraphics mixin and makes the forge devs happy :)

Outcome

GT(Item/Tool)Bar rendering is exactly the same as before but now uses ItemDecorators

screret commented 1 week ago

Actually you need to apply spotless first

Thepigcat76 commented 1 week ago

you mean the formatting? Oki

screret commented 1 week ago

Yuh