diff options
author | isXander <xandersmith2008@gmail.com> | 2023-05-21 14:36:37 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-05-21 14:36:37 +0100 |
commit | c84415116455d108ad07fc8dd6232c9acc94c40f (patch) | |
tree | 9c6a20b611e45eedeb512b8294f7147575d56af9 /common/src/main/java/dev/isxander/yacl/api | |
parent | 21afea0da3956f2d8cca81a54fa9820152e0c077 (diff) | |
download | YetAnotherConfigLib-c84415116455d108ad07fc8dd6232c9acc94c40f.tar.gz YetAnotherConfigLib-c84415116455d108ad07fc8dd6232c9acc94c40f.tar.bz2 YetAnotherConfigLib-c84415116455d108ad07fc8dd6232c9acc94c40f.zip |
Automatic WebP frame duration detection
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl/api')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl/api/OptionDescription.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/api/OptionDescription.java b/common/src/main/java/dev/isxander/yacl/api/OptionDescription.java index 3b28a65..22eebc9 100644 --- a/common/src/main/java/dev/isxander/yacl/api/OptionDescription.java +++ b/common/src/main/java/dev/isxander/yacl/api/OptionDescription.java @@ -28,12 +28,14 @@ public interface OptionDescription { Builder image(ResourceLocation image, int width, int height); Builder image(Path path, ResourceLocation uniqueLocation); + Builder webpImage(ResourceLocation image); + Builder webpImage(Path path, ResourceLocation uniqueLocation); + + @Deprecated Builder gifImage(ResourceLocation image); + @Deprecated Builder gifImage(Path path, ResourceLocation uniqueLocation); - Builder webpImage(ResourceLocation image, int frameDelayMS); - Builder webpImage(Path path, ResourceLocation uniqueLocation, int frameDelayMS); - OptionDescription build(); } } |