2021-12-23 09:19:12 -05:00
|
|
|
CLASS net/minecraft/class_5253 net/minecraft/util/math/ColorHelper
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT Contains color-related helper methods.
|
2021-12-23 09:19:12 -05:00
|
|
|
CLASS class_5254 Argb
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT Contains color-related helper methods that use ARGB colors represented
|
|
|
|
COMMENT as {@code 0xAARRGGBB}.
|
2020-04-30 07:19:56 -04:00
|
|
|
METHOD method_27762 getAlpha (I)I
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT {@return the alpha value of {@code argb}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
2020-04-30 07:19:56 -04:00
|
|
|
ARG 0 argb
|
|
|
|
METHOD method_27763 mixColor (II)I
|
|
|
|
ARG 0 first
|
|
|
|
ARG 1 second
|
|
|
|
METHOD method_27764 getArgb (IIII)I
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT {@return the ARGB color value from its components}
|
2020-04-30 07:19:56 -04:00
|
|
|
ARG 0 alpha
|
|
|
|
ARG 1 red
|
|
|
|
ARG 2 green
|
|
|
|
ARG 3 blue
|
|
|
|
METHOD method_27765 getRed (I)I
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT {@return the red value of {@code argb}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
2020-04-30 07:19:56 -04:00
|
|
|
ARG 0 argb
|
|
|
|
METHOD method_27766 getGreen (I)I
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT {@return the green value of {@code argb}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
2020-04-30 07:19:56 -04:00
|
|
|
ARG 0 argb
|
|
|
|
METHOD method_27767 getBlue (I)I
|
2022-10-18 16:15:20 -04:00
|
|
|
COMMENT {@return the blue value of {@code argb}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
2020-04-30 07:19:56 -04:00
|
|
|
ARG 0 argb
|
2023-02-08 18:01:05 -05:00
|
|
|
METHOD method_48780 lerp (FII)I
|
|
|
|
ARG 0 delta
|
|
|
|
ARG 1 start
|
|
|
|
ARG 2 end
|
2024-02-29 04:06:13 -05:00
|
|
|
METHOD method_57173 getArgb (III)I
|
|
|
|
ARG 0 red
|
|
|
|
ARG 1 green
|
|
|
|
ARG 2 blue
|
|
|
|
METHOD method_57174 fullAlpha (I)I
|
|
|
|
ARG 0 argb
|
2023-01-24 14:05:59 -05:00
|
|
|
CLASS class_8045 Abgr
|
|
|
|
METHOD method_48342 getAlpha (I)I
|
|
|
|
ARG 0 abgr
|
|
|
|
METHOD method_48343 withAlpha (II)I
|
|
|
|
ARG 0 alpha
|
|
|
|
ARG 1 bgr
|
|
|
|
METHOD method_48344 getAbgr (IIII)I
|
|
|
|
ARG 0 a
|
|
|
|
ARG 1 b
|
|
|
|
ARG 2 g
|
|
|
|
ARG 3 r
|
2023-04-08 09:18:26 -04:00
|
|
|
METHOD method_48345 getRed (I)I
|
2023-01-24 14:05:59 -05:00
|
|
|
ARG 0 abgr
|
|
|
|
METHOD method_48346 getGreen (I)I
|
|
|
|
ARG 0 abgr
|
2023-04-08 09:18:26 -04:00
|
|
|
METHOD method_48347 getBlue (I)I
|
2023-01-24 14:05:59 -05:00
|
|
|
ARG 0 abgr
|
|
|
|
METHOD method_48348 getBgr (I)I
|
|
|
|
ARG 0 abgr
|
2023-02-08 09:53:33 -05:00
|
|
|
METHOD method_48548 toOpaque (I)I
|
|
|
|
ARG 0 abgr
|