Class MipmapHelper

java.lang.Object
net.minecraft.client.texture.MipmapHelper

@Environment(CLIENT) public class MipmapHelper extends Object
Mappings:
Namespace Name
named net/minecraft/client/texture/MipmapHelper
intermediary net/minecraft/class_4725
official gqa
  • Field Details

    • MIN_ALPHA

      private static final int MIN_ALPHA
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MIN_ALPHA Lnet/minecraft/client/texture/MipmapHelper;MIN_ALPHA:I
      intermediary field_32949 Lnet/minecraft/class_4725;field_32949:I
      official a Lgqa;a:I
    • COLOR_FRACTIONS

      private static final float[] COLOR_FRACTIONS
      Mappings:
      Namespace Name Mixin selector
      named COLOR_FRACTIONS Lnet/minecraft/client/texture/MipmapHelper;COLOR_FRACTIONS:[F
      intermediary field_21747 Lnet/minecraft/class_4725;field_21747:[F
      official b Lgqa;b:[F
  • Constructor Details

    • MipmapHelper

      private MipmapHelper()
  • Method Details

    • getMipmapLevelsImages

      public static NativeImage[] getMipmapLevelsImages(NativeImage[] originals, int mipmap)
      Mappings:
      Namespace Name Mixin selector
      named getMipmapLevelsImages Lnet/minecraft/client/texture/MipmapHelper;getMipmapLevelsImages([Lnet/minecraft/client/texture/NativeImage;I)[Lnet/minecraft/client/texture/NativeImage;
      intermediary method_24102 Lnet/minecraft/class_4725;method_24102([Lnet/minecraft/class_1011;I)[Lnet/minecraft/class_1011;
      official a Lgqa;a([Lfaj;I)[Lfaj;
    • hasAlpha

      private static boolean hasAlpha(NativeImage image)
      Mappings:
      Namespace Name Mixin selector
      named hasAlpha Lnet/minecraft/client/texture/MipmapHelper;hasAlpha(Lnet/minecraft/client/texture/NativeImage;)Z
      intermediary method_45804 Lnet/minecraft/class_4725;method_45804(Lnet/minecraft/class_1011;)Z
      official a Lgqa;a(Lfaj;)Z
    • blend

      private static int blend(int one, int two, int three, int four, boolean checkAlpha)
      Mappings:
      Namespace Name Mixin selector
      named blend Lnet/minecraft/client/texture/MipmapHelper;blend(IIIIZ)I
      intermediary method_24101 Lnet/minecraft/class_4725;method_24101(IIIIZ)I
      official a Lgqa;a(IIIIZ)I
    • getColorComponent

      private static int getColorComponent(int one, int two, int three, int four, int bits)
      Mappings:
      Namespace Name Mixin selector
      named getColorComponent Lnet/minecraft/client/texture/MipmapHelper;getColorComponent(IIIII)I
      intermediary method_24100 Lnet/minecraft/class_4725;method_24100(IIIII)I
      official a Lgqa;a(IIIII)I
    • getColorFraction

      private static float getColorFraction(int value)
      Mappings:
      Namespace Name Mixin selector
      named getColorFraction Lnet/minecraft/client/texture/MipmapHelper;getColorFraction(I)F
      intermediary method_24099 Lnet/minecraft/class_4725;method_24099(I)F
      official a Lgqa;a(I)F