net.minecraft.client.render

public class LightmapTextureManager

implements AutoCloseable

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

Field summary

Modifier and TypeField
public static final int
FULL_BRIGHT
field_32767
MAX_LIGHT_COORDINATE
public static final int
FULL_SKY
field_32768
MAX_SKY_LIGHT_COORDINATE
public static final int
FULL_BLOCK
field_32769
MAX_BLOCK_LIGHT_COORDINATE
private static final int
TEXTURE_SIZE
field_53098
field_53098
private static final int
LIGHTMAP_UBO_SIZE
field_60111
UBO_SIZE
private final GpuTexture
texture
field_57927
glTexture
private final GpuTextureView
textureView
field_60581
glTextureView
private boolean
updateLightTexture
field_4135
dirty
private float
blockLightRedFlicker
field_21528
flickerIntensity
private final GameRenderer
renderer
field_4134
renderer
private final MinecraftClient
minecraft
field_4137
client
private final MappableRingBuffer
ubo
field_60112
buffer
private final Random
randomSource
field_64675
field_64675

Constructor summary

ModifierConstructor
public (GameRenderer renderer, MinecraftClient client)

Method summary

Modifier and TypeMethod
public GpuTextureView
getTextureView()
method_71650()
getGlTextureView()
public void
close()
public void
tick()
method_3314()
tick()
private float
calculateDarknessScale(LivingEntity camera, float darknessGamma, float partialTickTime)
method_42596(class_1309 arg0, float arg1, float arg2)
getDarkness(LivingEntity entity, float factor, float tickProgress)
public void
updateLightTexture(float partialTicks)
method_3313(float arg0)
update(float tickProgress)
public static float
getBrightness(DimensionType dimensionType, int level)
method_23284(class_2874 arg0, int arg1)
getBrightness(DimensionType type, int lightLevel)
public static float
getBrightness(float ambientLight, int level)
method_62226(float arg0, int arg1)
getBrightness(float ambientLight, int lightLevel)
public static int
pack(int block, int sky)
method_23687(int arg0, int arg1)
pack(int block, int sky)
public static int
block(int lightCoords)
method_24186(int arg0)
getBlockLightCoordinates(int light)
public static int
sky(int lightCoords)
method_24187(int arg0)
getSkyLightCoordinates(int light)
public static int
lightCoordsWithEmission(int lightCoords, int emission)
method_62228(int arg0, int arg1)
applyEmission(int light, int lightEmission)
private static String
lambda$updateLightTexture$1()
method_71310()
method_71310()
private static String
lambda$new$0()
method_71311()
method_71311()