diff options
author | Juuxel <kasperi.kauppi@gmail.com> | 2020-06-17 22:34:33 +0300 |
---|---|---|
committer | Juuxel <kasperi.kauppi@gmail.com> | 2020-06-17 22:34:33 +0300 |
commit | 50e200a10ca324b4d9ce0b823b85480cd4a55ab9 (patch) | |
tree | d07366b924ca12b17a23511af3c09acd2731d614 | |
parent | 5d25b13198a78276b1aab7e902a3e587c44c7ce6 (diff) | |
download | LibGui-50e200a10ca324b4d9ce0b823b85480cd4a55ab9.tar.gz LibGui-50e200a10ca324b4d9ce0b823b85480cd4a55ab9.tar.bz2 LibGui-50e200a10ca324b4d9ce0b823b85480cd4a55ab9.zip |
Add missing since tags
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java b/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java index adfff0c..b4ae9d3 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java @@ -47,6 +47,7 @@ public class ScreenDrawing { * @param v2 the bottom edge of the texture * @param color a color to tint the texture. This can be transparent! Use 0xFF_FFFFFF if you don't want a color tint * @param opacity opacity of the drawn texture. (0f is fully opaque and 1f is fully visible) + * @since 2.0.0 */ public static void texturedRect(int x, int y, int width, int height, Identifier texture, int color, float opacity) { texturedRect(x, y, width, height, texture, 0, 0, 1, 1, color, opacity); @@ -84,6 +85,7 @@ public class ScreenDrawing { * @param v2 the bottom edge of the texture * @param color a color to tint the texture. This can be transparent! Use 0xFF_FFFFFF if you don't want a color tint * @param opacity opacity of the drawn texture. (0f is fully opaque and 1f is fully visible) + * @since 2.0.0 */ public static void texturedRect(int x, int y, int width, int height, Identifier texture, float u1, float v1, float u2, float v2, int color, float opacity) { MinecraftClient.getInstance().getTextureManager().bindTexture(texture); |