Package net.minecraft.client.texture
Class MipmapHelper
java.lang.Object
net.minecraft.client.texture.MipmapHelper
- Mappings:
Namespace Name official ftt
intermediary net/minecraft/class_4725
named net/minecraft/client/texture/MipmapHelper
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float[]
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
blend
(int one, int two, int three, int four, boolean checkAlpha) private static int
getColorComponent
(int one, int two, int three, int four, int bits) private static float
getColorFraction
(int value) static NativeImage[]
getMipmapLevelsImages
(NativeImage[] originals, int mipmap) private static boolean
hasAlpha
(NativeImage image)
-
Field Details
-
field_32949
private static final int field_32949- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lftt;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
Lftt;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
- Mappings:
Namespace Name Mixin selector official a
Lftt;a([Legw;I)[Legw;
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
- Mappings:
Namespace Name Mixin selector official a
Lftt;a(Legw;)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
Lftt;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
Lftt;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
Lftt;a(I)F
intermediary method_24099
Lnet/minecraft/class_4725;method_24099(I)F
named getColorFraction
Lnet/minecraft/client/texture/MipmapHelper;getColorFraction(I)F
-