Package net.minecraftforge.client.gui
Class ForgeIngameGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.IngameGui
-
- net.minecraftforge.client.gui.ForgeIngameGui
-
public class ForgeIngameGui extends IngameGui
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classForgeIngameGui.GuiOverlayDebugForge
-
Field Summary
Fields Modifier and Type Field Description private ForgeIngameGui.GuiOverlayDebugForgedebugOverlayprivate RenderGameOverlayEventeventParentprivate FontRendererfontrendererstatic intleft_heightstatic doublerayTraceDistancestatic booleanrenderAirstatic booleanrenderArmorstatic booleanrenderBossHealthstatic booleanrenderCrosshairsstatic booleanrenderExperiancestatic booleanrenderFoodstatic booleanrenderHealthstatic booleanrenderHealthMountstatic booleanrenderHelmetstatic booleanrenderHotbarstatic booleanrenderJumpBarstatic booleanrenderObjectivestatic booleanrenderPortalstatic booleanrenderSpectatorTooltipstatic booleanrenderVignettestatic intright_heightprivate static intWHITE-
Fields inherited from class net.minecraft.client.gui.IngameGui
animateOverlayMessageColor, bossOverlay, chat, chatListeners, debugScreen, displayHealth, healthBlinkTime, itemRenderer, lastHealth, lastHealthTime, lastToolHighlight, minecraft, overlayMessageString, overlayMessageTime, PUMPKIN_BLUR_LOCATION, random, screenHeight, screenWidth, spectatorGui, subtitle, subtitleOverlay, tabList, tickCount, title, titleFadeInTime, titleFadeOutTime, titleStayTime, titleTime, toolHighlightTimer, VIGNETTE_LOCATION, vignetteBrightness, WIDGETS_LOCATION
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description ForgeIngameGui(Minecraft mc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidbind(ResourceLocation res)private voidpost(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)private booleanpre(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)voidrender(MatrixStack mStack, float partialTicks)protected voidrenderAir(int width, int height, MatrixStack mStack)protected voidrenderArmor(MatrixStack mStack, int width, int height)protected voidrenderBossHealth(MatrixStack mStack)protected voidrenderChat(int width, int height, MatrixStack mStack)protected voidrenderCrosshair(MatrixStack mStack)protected voidrenderEffects(MatrixStack mStack)protected voidrenderExperience(int x, MatrixStack mStack)voidrenderFood(int width, int height, MatrixStack mStack)protected voidrenderFPSGraph(MatrixStack mStack)voidrenderHealth(int width, int height, MatrixStack mStack)protected voidrenderHealthMount(int width, int height, MatrixStack mStack)private voidrenderHelmet(float partialTicks, MatrixStack mStack)protected voidrenderHotbar(float partialTicks, MatrixStack mStack)protected voidrenderHUDText(int width, int height, MatrixStack mStack)voidrenderJumpMeter(MatrixStack mStack, int x)protected voidrenderPlayerList(int width, int height, MatrixStack mStack)protected voidrenderPortalOverlay(float partialTicks)protected voidrenderRecordOverlay(int width, int height, float partialTicks, MatrixStack mStack)protected voidrenderSleepFade(int width, int height, MatrixStack mStack)protected voidrenderSubtitles(MatrixStack mStack)protected voidrenderTitle(int width, int height, float partialTicks, MatrixStack mStack)protected voidrenderVignette(Entity entity)-
Methods inherited from class net.minecraft.client.gui.IngameGui
clearCache, displayScoreboardSidebar, drawBackdrop, getBossOverlay, getChat, getFont, getGuiTicks, getSpectatorGui, getTabList, guessChatUUID, handleChat, onDisconnected, renderDemoOverlay, renderExperienceBar, renderPumpkin, renderSelectedItemName, resetTitleTimes, setNowPlaying, setOverlayMessage, setTitles, tick
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
-
-
-
Field Detail
-
WHITE
private static final int WHITE
- See Also:
- Constant Field Values
-
renderVignette
public static boolean renderVignette
-
renderHelmet
public static boolean renderHelmet
-
renderPortal
public static boolean renderPortal
-
renderSpectatorTooltip
public static boolean renderSpectatorTooltip
-
renderHotbar
public static boolean renderHotbar
-
renderCrosshairs
public static boolean renderCrosshairs
-
renderBossHealth
public static boolean renderBossHealth
-
renderHealth
public static boolean renderHealth
-
renderArmor
public static boolean renderArmor
-
renderFood
public static boolean renderFood
-
renderHealthMount
public static boolean renderHealthMount
-
renderAir
public static boolean renderAir
-
renderExperiance
public static boolean renderExperiance
-
renderJumpBar
public static boolean renderJumpBar
-
renderObjective
public static boolean renderObjective
-
left_height
public static int left_height
-
right_height
public static int right_height
-
rayTraceDistance
public static double rayTraceDistance
-
fontrenderer
private FontRenderer fontrenderer
-
eventParent
private RenderGameOverlayEvent eventParent
-
debugOverlay
private ForgeIngameGui.GuiOverlayDebugForge debugOverlay
-
-
Constructor Detail
-
ForgeIngameGui
public ForgeIngameGui(Minecraft mc)
-
-
Method Detail
-
render
public void render(MatrixStack mStack, float partialTicks)
-
renderCrosshair
protected void renderCrosshair(MatrixStack mStack)
- Overrides:
renderCrosshairin classIngameGui
-
renderEffects
protected void renderEffects(MatrixStack mStack)
- Overrides:
renderEffectsin classIngameGui
-
renderSubtitles
protected void renderSubtitles(MatrixStack mStack)
-
renderBossHealth
protected void renderBossHealth(MatrixStack mStack)
-
renderVignette
protected void renderVignette(Entity entity)
- Overrides:
renderVignettein classIngameGui
-
renderHelmet
private void renderHelmet(float partialTicks, MatrixStack mStack)
-
renderArmor
protected void renderArmor(MatrixStack mStack, int width, int height)
-
renderPortalOverlay
protected void renderPortalOverlay(float partialTicks)
- Overrides:
renderPortalOverlayin classIngameGui
-
renderHotbar
protected void renderHotbar(float partialTicks, MatrixStack mStack)- Overrides:
renderHotbarin classIngameGui
-
renderAir
protected void renderAir(int width, int height, MatrixStack mStack)
-
renderHealth
public void renderHealth(int width, int height, MatrixStack mStack)
-
renderFood
public void renderFood(int width, int height, MatrixStack mStack)
-
renderSleepFade
protected void renderSleepFade(int width, int height, MatrixStack mStack)
-
renderExperience
protected void renderExperience(int x, MatrixStack mStack)
-
renderJumpMeter
public void renderJumpMeter(MatrixStack mStack, int x)
- Overrides:
renderJumpMeterin classIngameGui
-
renderHUDText
protected void renderHUDText(int width, int height, MatrixStack mStack)
-
renderFPSGraph
protected void renderFPSGraph(MatrixStack mStack)
-
renderRecordOverlay
protected void renderRecordOverlay(int width, int height, float partialTicks, MatrixStack mStack)
-
renderTitle
protected void renderTitle(int width, int height, float partialTicks, MatrixStack mStack)
-
renderChat
protected void renderChat(int width, int height, MatrixStack mStack)
-
renderPlayerList
protected void renderPlayerList(int width, int height, MatrixStack mStack)
-
renderHealthMount
protected void renderHealthMount(int width, int height, MatrixStack mStack)
-
pre
private boolean pre(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)
-
post
private void post(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)
-
bind
private void bind(ResourceLocation res)
-
-