Package net.minecraft.client.texture
Class MipmapHelper
java.lang.Object
net.minecraft.client.texture.MipmapHelper
@Environment(CLIENT) public class MipmapHelper extends Object
- Mappings:
Namespace Name official erm
intermediary net/minecraft/class_4725
named net/minecraft/client/texture/MipmapHelper
-
Field Summary
Fields Modifier and Type Field Description private static float[]
COLOR_FRACTIONS
-
Constructor Summary
Constructors Constructor Description MipmapHelper()
-
Method Summary
Modifier and Type Method Description private 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 image, int mipmap)
-
Field Details
-
COLOR_FRACTIONS
private static final float[] COLOR_FRACTIONS- Mappings:
Namespace Name Mixin selector official a
Lerm;a:[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
public MipmapHelper()
-
-
Method Details
-
getMipmapLevelsImages
- Mappings:
Namespace Name Mixin selector official a
Lerm;a(Ldky;I)[Ldky;
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
Lerm;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
Lerm;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
Lerm;a(I)F
intermediary method_24099
Lnet/minecraft/class_4725;method_24099(I)F
named getColorFraction
Lnet/minecraft/client/texture/MipmapHelper;getColorFraction(I)F
-