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 class
ForgeIngameGui.GuiOverlayDebugForge
-
Field Summary
Fields Modifier and Type Field 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
-
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 void
bind(ResourceLocation res)
private void
post(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)
private boolean
pre(RenderGameOverlayEvent.ElementType type, MatrixStack mStack)
void
render(MatrixStack mStack, float partialTicks)
protected void
renderAir(int width, int height, MatrixStack mStack)
protected void
renderArmor(MatrixStack mStack, int width, int height)
protected void
renderBossHealth(MatrixStack mStack)
protected void
renderChat(int width, int height, MatrixStack mStack)
protected void
renderCrosshair(MatrixStack mStack)
protected void
renderEffects(MatrixStack mStack)
protected void
renderExperience(int x, MatrixStack mStack)
void
renderFood(int width, int height, MatrixStack mStack)
protected void
renderFPSGraph(MatrixStack mStack)
void
renderHealth(int width, int height, MatrixStack mStack)
protected void
renderHealthMount(int width, int height, MatrixStack mStack)
private void
renderHelmet(float partialTicks, MatrixStack mStack)
protected void
renderHotbar(float partialTicks, MatrixStack mStack)
protected void
renderHUDText(int width, int height, MatrixStack mStack)
void
renderJumpMeter(MatrixStack mStack, int x)
protected void
renderPlayerList(int width, int height, MatrixStack mStack)
protected void
renderPortalOverlay(float partialTicks)
protected void
renderRecordOverlay(int width, int height, float partialTicks, MatrixStack mStack)
protected void
renderSleepFade(int width, int height, MatrixStack mStack)
protected void
renderSubtitles(MatrixStack mStack)
protected void
renderTitle(int width, int height, float partialTicks, MatrixStack mStack)
protected void
renderVignette(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:
renderCrosshair
in classIngameGui
-
renderEffects
protected void renderEffects(MatrixStack mStack)
- Overrides:
renderEffects
in classIngameGui
-
renderSubtitles
protected void renderSubtitles(MatrixStack mStack)
-
renderBossHealth
protected void renderBossHealth(MatrixStack mStack)
-
renderVignette
protected void renderVignette(Entity entity)
- Overrides:
renderVignette
in 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:
renderPortalOverlay
in classIngameGui
-
renderHotbar
protected void renderHotbar(float partialTicks, MatrixStack mStack)
- Overrides:
renderHotbar
in 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:
renderJumpMeter
in 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)
-
-