net.minecraft.client.renderer

public class LightTexture

implements AutoCloseable

ftg
net.minecraft.client.renderer.LightTexture
net.minecraft.class_765
net.minecraft.client.render.LightmapTextureManager
net.minecraft.src.C_4138_

Field summary

Modifier and TypeField
public static final int
a
FULL_BRIGHT
field_32767
MAX_LIGHT_COORDINATE
f_173040_
public static final int
b
FULL_SKY
field_32768
MAX_SKY_LIGHT_COORDINATE
f_173041_
public static final int
c
FULL_BLOCK
field_32769
MAX_BLOCK_LIGHT_COORDINATE
f_173042_
private final DynamicTexture
d
lightTexture
field_4138
texture
f_109870_
private final NativeImage
e
lightPixels
field_4133
image
f_109871_
private final ResourceLocation
f
lightTextureLocation
field_4136
textureIdentifier
f_109872_
private boolean
g
updateLightTexture
field_4135
dirty
f_109873_
private float
h
blockLightRedFlicker
field_21528
flickerIntensity
f_109874_
private final GameRenderer
i
renderer
field_4134
renderer
f_109875_
private final Minecraft
j
minecraft
field_4137
client
f_109876_

Constructor summary

ModifierConstructor
public (GameRenderer renderer, Minecraft client)

Method summary

Modifier and TypeMethod
public void
close()
close()
close()
public void
a()
tick()
method_3314()
tick()
m_109880_()
public void
b()
turnOffLightLayer()
method_3315()
disable()
m_109891_()
public void
c()
turnOnLightLayer()
method_3316()
enable()
m_109896_()
private float
b(float arg0)
getDarknessGamma(float arg0)
method_42597(float arg0)
getDarknessFactor(float delta)
m_234319_(float arg0)
private float
a(bml arg0, float arg1, float arg2)
calculateDarknessScale(LivingEntity arg0, float arg1, float arg2)
method_42596(class_1309 arg0, float arg1, float arg2)
getDarkness(LivingEntity entity, float factor, float delta)
m_234312_(C_524_ p_234314_, float p_234315_, float arg2)
public void
a(float arg0)
updateLightTexture(float arg0)
method_3313(float arg0)
update(float delta)
m_109881_(float arg0)
private static void
a(org.joml.Vector3f arg0)
clampColor(org.joml.Vector3f arg0)
method_46557(org.joml.Vector3f arg0)
clamp(org.joml.Vector3f vec)
m_252983_(org.joml.Vector3f p_254122_)
private float
c(float arg0)
notGamma(float arg0)
method_23795(float arg0)
easeOutQuart(float x)
m_109892_(float arg0)
public static float
a(dmq arg0, int arg1)
getBrightness(DimensionType arg0, int arg1)
method_23284(class_2874 arg0, int arg1)
getBrightness(DimensionType type, int lightLevel)
m_234316_(C_2175_ p_234317_, int p_234318_)
public static int
a(int arg0, int arg1)
pack(int arg0, int arg1)
method_23687(int arg0, int arg1)
pack(int block, int sky)
m_109885_(int p_109886_, int p_109887_)
public static int
a(int arg0)
block(int arg0)
method_24186(int arg0)
getBlockLightCoordinates(int light)
m_109883_(int p_109884_)
public static int
b(int arg0)
sky(int arg0)
method_24187(int arg0)
getSkyLightCoordinates(int light)
m_109894_(int p_109895_)