public class OverlayRenderer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
TEXTURE_UNDERWATER |
Constructor and Description |
---|
OverlayRenderer() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.commons.lang3.tuple.Pair<BlockState,BlockPos> |
getOverlayBlock(PlayerEntity playerIn) |
private static BlockState |
getViewBlockingState(PlayerEntity playerIn) |
private static void |
renderFire(Minecraft minecraftIn,
MatrixStack matrixStackIn) |
static void |
renderOverlays(Minecraft minecraftIn,
MatrixStack matrixStackIn) |
private static void |
renderTexture(Minecraft minecraftIn,
TextureAtlasSprite spriteIn,
MatrixStack matrixStackIn) |
private static void |
renderUnderwater(Minecraft minecraftIn,
MatrixStack matrixStackIn) |
private static final ResourceLocation TEXTURE_UNDERWATER
public static void renderOverlays(Minecraft minecraftIn, MatrixStack matrixStackIn)
@Nullable private static BlockState getViewBlockingState(PlayerEntity playerIn)
@Nullable private static org.apache.commons.lang3.tuple.Pair<BlockState,BlockPos> getOverlayBlock(PlayerEntity playerIn)
private static void renderTexture(Minecraft minecraftIn, TextureAtlasSprite spriteIn, MatrixStack matrixStackIn)
private static void renderUnderwater(Minecraft minecraftIn, MatrixStack matrixStackIn)
private static void renderFire(Minecraft minecraftIn, MatrixStack matrixStackIn)