diff options
author | isXander <xandersmith2008@gmail.com> | 2023-06-01 15:40:31 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-06-01 15:40:31 +0100 |
commit | bfe71c615b8cc3cba891e9abfb693c15385145ad (patch) | |
tree | 9194edc2f34803d17e319fc9bcbc4d29f476d6ad /test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java | |
parent | 5e015ded7c30ce959cb23fb5a2abdf2e55353f53 (diff) | |
download | YetAnotherConfigLib-bfe71c615b8cc3cba891e9abfb693c15385145ad.tar.gz YetAnotherConfigLib-bfe71c615b8cc3cba891e9abfb693c15385145ad.tar.bz2 YetAnotherConfigLib-bfe71c615b8cc3cba891e9abfb693c15385145ad.zip |
Fix reading of lossy animated WebPs
Diffstat (limited to 'test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java')
-rw-r--r-- | test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java b/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java index 2da0423..8647d16 100644 --- a/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java +++ b/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java @@ -70,7 +70,7 @@ public class GuiTest { .append(Component.literal("e").withStyle(style -> style.withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Component.literal("e"))))) .withStyle(style -> style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://isxander.dev"))) ) - .gifImage(Path.of("D:\\Xander\\Downloads\\showcaseMain.gif"), new ResourceLocation("yacl", "e.webp")) + .webpImage(Path.of("D:\\Xander\\Code\\isXander\\Controlify\\src\\main\\resources\\assets\\controlify\\textures\\screenshots\\reach-around-placement.webp"), new ResourceLocation("yacl", "e.webp")) .build()) .binding( defaults.booleanToggle, |