net.minecraft.client.texture

public class MipmapHelper

net.minecraft.client.renderer.texture.MipmapGenerator
net.minecraft.client.renderer.texture.MipmapGenerator
net.minecraft.class_4725
net.minecraft.client.texture.MipmapHelper

Field summary

Modifier and TypeField
private static final String
ITEM_PREFIX
ITEM_PREFIX
field_64234
ITEM_PREFIX
private static final float
ALPHA_CUTOFF
ALPHA_CUTOFF
field_64074
DEFAULT_ALPHA_THRESHOLD
private static final float
STRICT_ALPHA_CUTOFF
STRICT_ALPHA_CUTOFF
field_64075
STRICT_CUTOUT_ALPHA_THRESHOLD

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
private static float
alphaTestCoverage(NativeImage image, float alphaRef, float alphaScale)
alphaTestCoverage(NativeImage image, float alphaRef, float alphaScale)
method_76765(class_1011 arg0, float arg1, float arg2)
getOpacityCoverage(NativeImage image, float alphaThreshold, float alphaMulti)
private static void
scaleAlphaToCoverage(NativeImage image, float desiredCoverage, float alphaRef, float alphaCutoffBias)
scaleAlphaToCoverage(NativeImage image, float desiredCoverage, float alphaRef, float alphaCutoffBias)
method_76766(class_1011 arg0, float arg1, float arg2, float arg3)
adjustAlphaForTargetCoverage(NativeImage image, float targetCoverage, float alphaThreshold, float cutoffBias)
public static NativeImage[]
generateMipLevels(Identifier name, NativeImage[] currentMips, int newMipLevel, MipmapStrategy mipmapStrategy, float alphaCutoffBias, Transparency transparency)
generateMipLevels(Identifier name, NativeImage[] currentMips, int newMipLevel, MipmapStrategy mipmapStrategy, float alphaCutoffBias, Transparency transparency)
method_24102(class_2960 arg0, class_1011[] arg1, int arg2, class_12253 arg3, float arg4, class_1_303 arg5)
getMipmapLevelsImages(Identifier id, NativeImage[] mipmapLevelImages, int mipmapLevels, MipmapStrategy strategy, float cutoffBias, Transparency arg5)
private static int
darkenedAlphaBlend(int color1, int color2, int color3, int color4)
darkenedAlphaBlend(int color1, int color2, int color3, int color4)
method_75486(int arg0, int arg1, int arg2, int arg3)
blendDarkenedCutout(int nw, int ne, int sw, int se)