Package net.minecraft.client.renderer
Class LightTexture
java.lang.Object
net.minecraft.client.renderer.LightTexture
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final NativeImage
private final DynamicTexture
private final ResourceLocation
private final Minecraft
private final GameRenderer
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
block
(int p_228450_0_) void
close()
private float
getBrightness
(World p_228452_1_, int p_228452_2_) private float
notGamma
(float p_228453_1_) static int
pack
(int p_228451_0_, int p_228451_1_) static int
sky
(int p_228454_0_) void
tick()
void
void
void
updateLightTexture
(float p_205106_1_)
-
Field Details
-
lightTexture
-
lightPixels
-
lightTextureLocation
-
updateLightTexture
private boolean updateLightTexture -
blockLightRedFlicker
private float blockLightRedFlicker -
renderer
-
minecraft
-
-
Constructor Details
-
LightTexture
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
tick
public void tick() -
turnOffLightLayer
public void turnOffLightLayer() -
turnOnLightLayer
public void turnOnLightLayer() -
updateLightTexture
public void updateLightTexture(float p_205106_1_) -
notGamma
private float notGamma(float p_228453_1_) -
getBrightness
-
pack
public static int pack(int p_228451_0_, int p_228451_1_) -
block
public static int block(int p_228450_0_) -
sky
public static int sky(int p_228454_0_)
-