Package net.minecraft.client.render
Class OverlayTexture
java.lang.Object
net.minecraft.client.render.OverlayTexture
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class OverlayTexture extends Object implements AutoCloseable
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_UVprivate NativeImageBackedTexturetexture -
Constructor Summary
Constructors Constructor Description OverlayTexture() -
Method Summary
Modifier and Type Method Description voidclose()static intgetU(float whiteOverlayProgress)static intgetUv(float float2, boolean hurt)static intgetV(boolean hurt)static intpackUv(int u, int v)voidsetupOverlayColor()voidteardownOverlayColor()
-
Field Details
-
DEFAULT_UV
public static final int DEFAULT_UV -
texture
-
-
Constructor Details
-
OverlayTexture
public OverlayTexture()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
setupOverlayColor
public void setupOverlayColor() -
getU
public static int getU(float whiteOverlayProgress) -
getV
public static int getV(boolean hurt) -
packUv
public static int packUv(int u, int v) -
getUv
public static int getUv(float float2, boolean hurt) -
teardownOverlayColor
public void teardownOverlayColor()
-