sp614x / optifine

1.77k stars 420 forks source link

Villager GUI path selector - widgets and sliced assets since 1.20.2 #7655

Open Sentsu opened 2 months ago

Sentsu commented 2 months ago

I want to update my personnal resouce compile with the new 1.20.2 slice GUI and my custom villager GUI is broken now though it worked properly before...

I tryed to select sliced assets but only the background is find

How it should look: Capture d'écran 2024-04-14 152322

How it looks currently: Capture d'écran 2024-04-14 151956 Here is my GUI buttons

Code I use (is there any things I do wrong?):

container=villager
texture.container/villager=trade
texture.sprites/widget/button=trade_button
texture.sprites/widget/button_highlighted=trade_button_highlighted
texture.sprites/container/villager/out_of_stock=trade_out_of_stock