net.minecraft.client.renderer

public class LightTexture

implements AutoCloseable

eng
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
field_32767
f_173040_
public static final int
b
FULL_SKY
field_32768
field_32768
f_173041_
public static final int
c
FULL_BLOCK
field_32769
field_32769
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
field_21528
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_()
public void
a(float arg0)
updateLightTexture(float arg0)
method_3313(float arg0)
update(float delta)
m_109881_(float arg0)
private float
b(float arg0)
notGamma(float arg0)
method_23795(float arg0)
method_23795(float arg0)
m_109892_(float arg0)
private float
a(bwp arg0, int arg1)
getBrightness(Level arg0, int arg1)
method_23284(class_1937 arg0, int arg1)
getBrightness(World world, int lightLevel)
m_109888_(C_1596_ p_109890_, int arg1)
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_)