Package mcp.mobius.waila.api
Class WailaHelper
java.lang.Object
mcp.mobius.waila.api.WailaHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getAlpha
(int argb) static int
getBlue
(int rgb) static int
getGreen
(int rgb) static double
getLuminance
(int rgb) static int
getRed
(int rgb) static <B extends io.netty.buffer.ByteBuf,
V>
net.minecraft.network.codec.StreamCodec<B, @Nullable V> nullable
(net.minecraft.network.codec.StreamCodec<B, V> codec) static String
suffix
(long value)
-
Method Details
-
suffix
-
getAlpha
public static int getAlpha(int argb) -
getRed
public static int getRed(int rgb) -
getGreen
public static int getGreen(int rgb) -
getBlue
public static int getBlue(int rgb) -
getLuminance
public static double getLuminance(int rgb) -
nullable
public static <B extends io.netty.buffer.ByteBuf,V> net.minecraft.network.codec.StreamCodec<B,@Nullable V> nullable(net.minecraft.network.codec.StreamCodec<B, V> codec) - See Also:
-