net.minecraft.client.renderer

public class LightTexture

implements AutoCloseable

fif
net.minecraft.client.renderer.LightTexture
net.minecraft.class_765
net.minecraft.unmapped.C_grwstqbm
net.minecraft.client.render.LightmapTextureManager
net.minecraft.client.render.LightmapTextureManager
net.minecraft.src.C_4138_

Field summary

Modifier and TypeField
public static final int
a
FULL_BRIGHT
field_32767
f_ytghrbva
MAX_LIGHT_COORDINATE
MAX_LIGHT_COORDINATE
f_173040_
public static final int
b
FULL_SKY
field_32768
f_swrlerdp
MAX_SKY_LIGHT_COORDINATE
MAX_SKY_LIGHT_COORDINATE
f_173041_
public static final int
c
FULL_BLOCK
field_32769
f_iaaiacfc
MAX_BLOCK_LIGHT_COORDINATE
MAX_BLOCK_LIGHT_COORDINATE
f_173042_
private final DynamicTexture
d
lightTexture
field_4138
f_szwgpeaw
texture
texture
f_109870_
private final NativeImage
e
lightPixels
field_4133
f_eplkmduj
image
image
f_109871_
private final ResourceLocation
f
lightTextureLocation
field_4136
f_nolcsqol
textureIdentifier
textureIdentifier
f_109872_
private boolean
g
updateLightTexture
field_4135
f_qdketniz
dirty
dirty
f_109873_
private float
h
blockLightRedFlicker
field_21528
f_ngbaqzyp
flickerIntensity
flickerIntensity
f_109874_
private final GameRenderer
i
renderer
field_4134
f_abtihkiy
renderer
renderer
f_109875_
private final Minecraft
j
minecraft
field_4137
f_mgviipnc
client
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()
m_kzjmpsfo()
tick()
tick()
m_109880_()
public void
b()
turnOffLightLayer()
method_3315()
m_vcrzikjz()
disable()
disable()
m_109891_()
public void
c()
turnOnLightLayer()
method_3316()
m_yumestcc()
enable()
enable()
m_109896_()
private float
b(float arg0)
getDarknessGamma(float arg0)
method_42597(float arg0)
m_crheesdy(float arg0)
getDarknessFactor(float delta)
getDarknessGamma(float tickDelta)
m_234319_(float arg0)
private float
a(bfx arg0, float arg1, float arg2)
calculateDarknessScale(LivingEntity arg0, float arg1, float arg2)
method_42596(class_1309 arg0, float arg1, float arg2)
m_ejpyhqaw(C_usxaxydn arg0, float arg1, float arg2)
getDarkness(LivingEntity entity, float factor, float delta)
calculateDarknessScale(LivingEntity entity, float darknessGamma, float tickDelta)
m_234312_(C_524_ p_234314_, float p_234315_, float arg2)
public void
a(float arg0)
updateLightTexture(float arg0)
method_3313(float arg0)
m_ooqbyqsa(float arg0)
update(float delta)
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)
m_enyeenvy(org.joml.Vector3f arg0)
clamp(org.joml.Vector3f vec)
clamp(org.joml.Vector3f vector)
m_252983_(org.joml.Vector3f p_254122_)
private float
c(float arg0)
notGamma(float arg0)
method_23795(float arg0)
m_rllrbrhj(float arg0)
easeOutQuart(float x)
easeOutQuart(float x)
m_109892_(float arg0)
public static float
a(dez arg0, int arg1)
getBrightness(DimensionType arg0, int arg1)
method_23284(class_2874 arg0, int arg1)
m_zntnljrt(C_oxijnccf arg0, int arg1)
getBrightness(DimensionType type, int lightLevel)
getBrightness(DimensionType dimensionType, 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)
m_fwqkbqzx(int arg0, int arg1)
pack(int block, int sky)
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)
m_dbomiadp(int arg0)
getBlockLightCoordinates(int light)
getBlockLightCoordinates(int light)
m_109883_(int p_109884_)
public static int
b(int arg0)
sky(int arg0)
method_24187(int arg0)
m_ebgwofaw(int arg0)
getSkyLightCoordinates(int light)
getSkyLightCoordinates(int light)
m_109894_(int p_109895_)