Class WailaHelper

java.lang.Object
mcp.mobius.waila.api.WailaHelper

public final class WailaHelper extends Object
  • Method Details

    • suffix

      public static String suffix(long value)
    • 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:
      • ByteBufCodecs.optional(StreamCodec)