net.minecraft.client.renderer

public class LightTexture

implements AutoCloseable

glx
net.minecraft.client.renderer.LightTexture
net.minecraft.class_765
net.minecraft.client.render.LightmapTextureManager

Field summary

Modifier and TypeField
public static final int
a
FULL_BRIGHT
field_32767
MAX_LIGHT_COORDINATE
public static final int
b
FULL_SKY
field_32768
MAX_SKY_LIGHT_COORDINATE
public static final int
c
FULL_BLOCK
field_32769
MAX_BLOCK_LIGHT_COORDINATE
private static final int
d
TEXTURE_SIZE
field_53098
field_53098
private final TextureTarget
e
target
field_53101
lightmapFramebuffer
private boolean
f
updateLightTexture
field_4135
dirty
private float
g
blockLightRedFlicker
field_21528
flickerIntensity
private final GameRenderer
h
renderer
field_4134
renderer
private final Minecraft
i
minecraft
field_4137
client

Constructor summary

ModifierConstructor
public (GameRenderer renderer, Minecraft client)

Method summary

Modifier and TypeMethod
public void
close()
close()
public void
a()
tick()
method_3314()
tick()
public void
b()
turnOffLightLayer()
method_3315()
disable()
public void
c()
turnOnLightLayer()
method_3316()
enable()
private float
b(float arg0)
getDarknessGamma(float arg0)
method_42597(float arg0)
getDarknessFactor(float delta)
private float
a(bvi 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)
public void
a(float arg0)
updateLightTexture(float arg0)
method_3313(float arg0)
update(float delta)
public static float
a(eat arg0, int arg1)
getBrightness(DimensionType arg0, int arg1)
method_23284(class_2874 arg0, int arg1)
getBrightness(DimensionType type, int lightLevel)
public static float
a(float arg0, int arg1)
getBrightness(float arg0, int arg1)
method_62226(float arg0, int arg1)
getBrightness(float ambientLight, int lightLevel)
public static int
a(int arg0, int arg1)
pack(int arg0, int arg1)
method_23687(int arg0, int arg1)
pack(int block, int sky)
public static int
a(int arg0)
block(int arg0)
method_24186(int arg0)
getBlockLightCoordinates(int light)
public static int
b(int arg0)
sky(int arg0)
method_24187(int arg0)
getSkyLightCoordinates(int light)
public static int
b(int arg0, int arg1)
lightCoordsWithEmission(int arg0, int arg1)
method_62228(int arg0, int arg1)
applyEmission(int light, int lightEmission)