Class MipmapHelper

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

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

    • field_32949

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

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

    • MipmapHelper

      private MipmapHelper()
  • Method Details

    • getMipmapLevelsImages

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

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

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

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