Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 4 tasks
Sentsu opened this issue Apr 12, 2024 · 2 comments
Open
3 of 4 tasks

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

Sentsu opened this issue Apr 12, 2024 · 2 comments
Labels
bug Something isn't working correctly

Comments

@Sentsu
Copy link

Sentsu commented Apr 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

My resourcepack contains variants of widgets specific to villagers professions

This is how it looked with Optifine before 1.20.2 sliced atltas:
Capture d'écran 2024-04-14 152322

Actual Behavior

Even if I can select the background, I'd like to be able to customise the buttons or other assets now in the sprites folder.
Capture d'écran 2024-04-14 151956
In fact, the current version of Optifine no longer offers pre-1.20.2 rendering and has the same issue...

Steps To Reproduce

.ini that I attempted to do (is there any things I do wrong?):

[villager #1]
replacement=trade.png

[villager #2]
interaction.texture=minecraft:textures/gui/sprites/widget/button.png
replacement=trade_button.png

[villager #3]
interaction.texture=minecraft:textures/gui/sprites/widget/button_highlighted.png
replacement=trade_button_highlighted.png

[villager #4]
interaction.texture=minecraft:textures/gui/sprites/container/villager/out_of_stock.png
replacement=trade_out_of_stock.png

Loader and its version

Fabric Loader 0.15.9

OptiGUI version

2.3.0-alpha.2

Behavior difference

  • Behavior is different from OptiGUI documentation
  • Behavior is different from OptiFine
  • Behavior is different from expected (or straight up doesn't work)

Anything else

No response

@Sentsu Sentsu added the bug Something isn't working correctly label Apr 12, 2024
@Sentsu Sentsu closed this as completed Apr 12, 2024
@Sentsu Sentsu changed the title Specific Widgets variant for villagers professions Villager GUI path selector - widgets and sliced assets since 1.20 Apr 14, 2024
@Sentsu Sentsu reopened this Apr 14, 2024
@opekope2
Copy link
Owner

Thanks for opening this issue! I didn't notice this.
At this point, retexturing sprites is not supported, because sprites are rendered as sprites using their stitched atlas texture, instead of individual textures. I guess Animatica doesn't support this either.
I'll find a way to implement this in the future.
Was this change introduced in 1.20 or 1.20.2?

@Sentsu
Copy link
Author

Sentsu commented Apr 14, 2024

Thks for your quick reply!
Apparently sliced GUI was introduced by 1.20.1 snapshot so it is done in 1.20.2 (I have edited the title)

@Sentsu Sentsu changed the title Villager GUI path selector - widgets and sliced assets since 1.20 Villager GUI path selector - widgets and sliced assets since 1.20.2 Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

2 participants