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
static final int
static final int
static final int
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_109884_) void
close()
private float
getBrightness
(Level p_109889_, int p_109890_) private float
notGamma
(float p_109893_) static int
pack
(int p_109886_, int p_109887_) static int
sky
(int p_109895_) void
tick()
void
void
void
updateLightTexture
(float p_109882_)
-
Field Details
-
FULL_BRIGHT
public static final int FULL_BRIGHT- See Also:
-
FULL_SKY
public static final int FULL_SKY- See Also:
-
FULL_BLOCK
public static final int FULL_BLOCK- See Also:
-
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_109882_) -
notGamma
private float notGamma(float p_109893_) -
getBrightness
-
pack
public static int pack(int p_109886_, int p_109887_) -
block
public static int block(int p_109884_) -
sky
public static int sky(int p_109895_)
-