public class ForgeIngameGui extends IngameGui
Modifier and Type | Class and Description |
---|---|
private class |
ForgeIngameGui.GuiOverlayDebugForge |
Modifier and Type | Field and Description |
---|---|
private ForgeIngameGui.GuiOverlayDebugForge |
debugOverlay |
private RenderGameOverlayEvent |
eventParent |
private FontRenderer |
fontrenderer |
static int |
left_height |
static double |
rayTraceDistance |
static boolean |
renderAir |
static boolean |
renderArmor |
static boolean |
renderBossHealth |
static boolean |
renderCrosshairs |
static boolean |
renderExperiance |
static boolean |
renderFood |
static boolean |
renderHealth |
static boolean |
renderHealthMount |
static boolean |
renderHelmet |
static boolean |
renderHotbar |
static boolean |
renderJumpBar |
static boolean |
renderObjective |
static boolean |
renderPortal |
static boolean |
renderSpectatorTooltip |
static boolean |
renderVignette |
static int |
right_height |
private static int |
WHITE |
animateOverlayMessageColor, chatListeners, displayedSubTitle, displayedTitle, healthUpdateCounter, highlightingItemStack, itemRenderer, lastPlayerHealth, lastSystemTime, mc, overlayBoss, overlayDebug, overlayMessage, overlayMessageTime, overlayPlayerList, overlaySubtitle, persistantChatGUI, playerHealth, prevVignetteBrightness, PUMPKIN_BLUR_TEX_PATH, rand, remainingHighlightTicks, scaledHeight, scaledWidth, spectatorGui, ticks, titleDisplayTime, titleFadeIn, titleFadeOut, titlesTimer, VIGNETTE_TEX_PATH, WIDGETS_TEX_PATH
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
ForgeIngameGui(Minecraft mc) |
Modifier and Type | Method and Description |
---|---|
private void |
bind(ResourceLocation res) |
private void |
post(RenderGameOverlayEvent.ElementType type) |
private boolean |
pre(RenderGameOverlayEvent.ElementType type) |
protected void |
renderAir(int width,
int height) |
protected void |
renderArmor(int width,
int height) |
protected void |
renderAttackIndicator() |
protected void |
renderBossHealth() |
protected void |
renderChat(int width,
int height) |
protected void |
renderExperience(int x) |
void |
renderFood(int width,
int height) |
protected void |
renderFPSGraph() |
void |
renderGameOverlay(float partialTicks) |
void |
renderHealth(int width,
int height) |
protected void |
renderHealthMount(int width,
int height) |
private void |
renderHelmet(float partialTicks) |
void |
renderHorseJumpBar(int x) |
protected void |
renderHotbar(float partialTicks) |
protected void |
renderHUDText(int width,
int height) |
protected void |
renderPlayerList(int width,
int height) |
protected void |
renderPortal(float partialTicks) |
protected void |
renderPotionEffects() |
protected void |
renderRecordOverlay(int width,
int height,
float partialTicks) |
protected void |
renderSleepFade(int width,
int height) |
protected void |
renderSubtitles() |
protected void |
renderTitle(int width,
int height,
float partialTicks) |
protected void |
renderVignette(Entity entity) |
void |
setOverlayMessage(ITextComponent component,
boolean animateColor) |
addChatMessage, displayTitle, getBossOverlay, getChatGUI, getFontRenderer, getSpectatorGui, getTabList, getTicks, renderDemoOverlay, renderExpBar, renderPumpkinOverlay, renderScoreboard, renderSelectedItem, renderTextBackground, reset, resetPlayersOverlayFooterHeader, setDefaultTitlesTimes, setOverlayMessage, setRecordPlayingMessage, tick
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
private static final int WHITE
public static boolean renderVignette
public static boolean renderHelmet
public static boolean renderPortal
public static boolean renderSpectatorTooltip
public static boolean renderHotbar
public static boolean renderCrosshairs
public static boolean renderBossHealth
public static boolean renderHealth
public static boolean renderArmor
public static boolean renderFood
public static boolean renderHealthMount
public static boolean renderAir
public static boolean renderExperiance
public static boolean renderJumpBar
public static boolean renderObjective
public static int left_height
public static int right_height
public static double rayTraceDistance
private FontRenderer fontrenderer
private RenderGameOverlayEvent eventParent
private ForgeIngameGui.GuiOverlayDebugForge debugOverlay
public ForgeIngameGui(Minecraft mc)
public void renderGameOverlay(float partialTicks)
renderGameOverlay
in class IngameGui
protected void renderAttackIndicator()
renderAttackIndicator
in class IngameGui
protected void renderPotionEffects()
renderPotionEffects
in class IngameGui
protected void renderSubtitles()
protected void renderBossHealth()
protected void renderVignette(Entity entity)
renderVignette
in class IngameGui
private void renderHelmet(float partialTicks)
protected void renderArmor(int width, int height)
protected void renderPortal(float partialTicks)
renderPortal
in class IngameGui
protected void renderHotbar(float partialTicks)
renderHotbar
in class IngameGui
public void setOverlayMessage(ITextComponent component, boolean animateColor)
setOverlayMessage
in class IngameGui
protected void renderAir(int width, int height)
public void renderHealth(int width, int height)
public void renderFood(int width, int height)
protected void renderSleepFade(int width, int height)
protected void renderExperience(int x)
public void renderHorseJumpBar(int x)
renderHorseJumpBar
in class IngameGui
protected void renderHUDText(int width, int height)
protected void renderFPSGraph()
protected void renderRecordOverlay(int width, int height, float partialTicks)
protected void renderTitle(int width, int height, float partialTicks)
protected void renderChat(int width, int height)
protected void renderPlayerList(int width, int height)
protected void renderHealthMount(int width, int height)
private boolean pre(RenderGameOverlayEvent.ElementType type)
private void post(RenderGameOverlayEvent.ElementType type)
private void bind(ResourceLocation res)