Class MipmapHelper

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

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

    • MIN_ALPHA

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

      private static final float[] COLOR_FRACTIONS
      Mappings:
      Namespace Name Mixin selector
      official b Lfyt;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[] originals, int mipmap)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyt;a([Lekq;I)[Lekq;
      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;
    • hasAlpha

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

      private static int blend(int one, int two, int three, int four, boolean checkAlpha)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyt;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 Lfyt;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 Lfyt;a(I)F
      intermediary method_24099 Lnet/minecraft/class_4725;method_24099(I)F
      named getColorFraction Lnet/minecraft/client/texture/MipmapHelper;getColorFraction(I)F