@Environment(value=CLIENT) public class InGameOverlayRenderer extends Object
Modifier and Type | Field and Description |
---|---|
private static Identifier |
UNDERWATER_TEXTURE |
Constructor and Description |
---|
InGameOverlayRenderer() |
Modifier and Type | Method and Description |
---|---|
private static BlockState |
getInWallBlockState(PlayerEntity playerEntity) |
private static void |
renderFireOverlay(MinecraftClient minecraftClient,
MatrixStack matrixStack) |
private static void |
renderInWallOverlay(MinecraftClient minecraftClient,
Sprite sprite,
MatrixStack matrixStack) |
static void |
renderOverlays(MinecraftClient minecraftClient,
MatrixStack matrixStack) |
private static void |
renderUnderwaterOverlay(MinecraftClient minecraftClient,
MatrixStack matrixStack) |
private static final Identifier UNDERWATER_TEXTURE
public static void renderOverlays(MinecraftClient minecraftClient, MatrixStack matrixStack)
@Nullable private static BlockState getInWallBlockState(PlayerEntity playerEntity)
private static void renderInWallOverlay(MinecraftClient minecraftClient, Sprite sprite, MatrixStack matrixStack)
private static void renderUnderwaterOverlay(MinecraftClient minecraftClient, MatrixStack matrixStack)
private static void renderFireOverlay(MinecraftClient minecraftClient, MatrixStack matrixStack)