Package net.minecraftforge.client.gui
Class ForgeIngameGui
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.Gui
net.minecraftforge.client.gui.ForgeIngameGui
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
private RenderGameOverlayEvent
static IIngameOverlay
private Font
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
int
private static org.apache.logging.log4j.Logger
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static double
static IIngameOverlay
int
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
static IIngameOverlay
private static int
Fields inherited from class net.minecraft.client.gui.Gui
animateOverlayMessageColor, bossOverlay, chat, chatListeners, COLOR_WHITE, debugScreen, DEMO_EXPIRED_TEXT, displayHealth, healthBlinkTime, HEART_SEPARATION, HEART_SIZE, itemRenderer, lastHealth, lastHealthTime, lastToolHighlight, LINE_HEIGHT, MIN_CROSSHAIR_ATTACK_SPEED, minecraft, NUM_HEARTS_PER_ROW, overlayMessageString, overlayMessageTime, PORTAL_OVERLAY_ALPHA_MIN, POWDER_SNOW_OUTLINE_LOCATION, PUMPKIN_BLUR_LOCATION, random, scopeScale, screenHeight, screenWidth, SPACER, spectatorGui, SPYGLASS_SCOPE_LOCATION, subtitle, subtitleOverlay, tabList, tickCount, title, titleFadeInTime, titleFadeOutTime, titleStayTime, titleTime, toolHighlightTimer, VIGNETTE_LOCATION, vignetteBrightness, WIDGETS_LOCATION
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
bind(ResourceLocation res)
private void
post(RenderGameOverlayEvent.ElementType type, PoseStack mStack)
private void
post(IIngameOverlay overlay, PoseStack mStack)
private boolean
pre(RenderGameOverlayEvent.ElementType type, PoseStack mStack)
private boolean
pre(IIngameOverlay overlay, PoseStack mStack)
void
protected void
protected void
renderArmor(PoseStack mStack, int width, int height)
protected void
renderBossHealth(PoseStack mStack)
protected void
renderChat(int width, int height, PoseStack pStack)
protected void
renderExperience(int x, PoseStack mStack)
void
renderFood(int width, int height, PoseStack mStack)
protected void
renderFPSGraph(PoseStack mStack)
private void
renderFrostbite(PoseStack pStack)
void
renderHealth(int width, int height, PoseStack pStack)
protected void
renderHealthMount(int width, int height, PoseStack mStack)
private void
renderHelmet(float partialTicks, PoseStack mStack)
protected void
renderHUDText(int width, int height, PoseStack mStack)
void
renderJumpMeter(PoseStack mStack, int x)
protected void
renderPlayerList(int width, int height, PoseStack mStack)
protected void
renderPortalOverlay(float partialTicks)
protected void
renderRecordOverlay(int width, int height, float partialTicks, PoseStack pStack)
protected void
renderSleepFade(int width, int height, PoseStack mStack)
private void
protected void
renderSubtitles(PoseStack mStack)
protected void
renderTitle(int width, int height, float partialTicks, PoseStack pStack)
void
setupOverlayRenderState(boolean blend, boolean depthText)
void
setupOverlayRenderState(boolean blend, boolean depthTest, ResourceLocation texture)
boolean
Methods inherited from class net.minecraft.client.gui.Gui
clear, clearCache, displayScoreboardSidebar, drawBackdrop, getBossOverlay, getChat, getFont, getGuiTicks, getSpectatorGui, getTabList, guessChatUUID, handleChat, onDisconnected, renderCrosshair, renderDemoOverlay, renderEffects, renderExperienceBar, renderHearts, renderHotbar, renderSelectedItemName, renderSpyglassOverlay, renderTextureOverlay, renderVignette, resetTitleTimes, setNowPlaying, setOverlayMessage, setSubtitle, setTimes, setTitle, tick
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
WHITE
private static final int WHITE- See Also:
- Constant Field Values
-
rayTraceDistance
public static double rayTraceDistance -
left_height
public int left_height -
right_height
public int right_height -
fontrenderer
-
eventParent
-
debugOverlay
-
VIGNETTE_ELEMENT
-
SPYGLASS_ELEMENT
-
HELMET_ELEMENT
-
FROSTBITE_ELEMENT
-
PORTAL_ELEMENT
-
HOTBAR_ELEMENT
-
CROSSHAIR_ELEMENT
-
BOSS_HEALTH_ELEMENT
-
PLAYER_HEALTH_ELEMENT
-
ARMOR_LEVEL_ELEMENT
-
FOOD_LEVEL_ELEMENT
-
MOUNT_HEALTH_ELEMENT
-
AIR_LEVEL_ELEMENT
-
JUMP_BAR_ELEMENT
-
EXPERIENCE_BAR_ELEMENT
-
ITEM_NAME_ELEMENT
-
SLEEP_FADE_ELEMENT
-
HUD_TEXT_ELEMENT
-
FPS_GRAPH_ELEMENT
-
POTION_ICONS_ELEMENT
-
RECORD_OVERLAY_ELEMENT
-
SUBTITLES_ELEMENT
-
TITLE_TEXT_ELEMENT
-
SCOREBOARD_ELEMENT
-
CHAT_PANEL_ELEMENT
-
PLAYER_LIST_ELEMENT
-
-
Constructor Details
-
ForgeIngameGui
-
-
Method Details
-
setupOverlayRenderState
public void setupOverlayRenderState(boolean blend, boolean depthText) -
setupOverlayRenderState
public void setupOverlayRenderState(boolean blend, boolean depthTest, @Nullable ResourceLocation texture) -
render
-
shouldDrawSurvivalElements
public boolean shouldDrawSurvivalElements() -
renderSubtitles
-
renderBossHealth
-
renderSpyglassOverlay
private void renderSpyglassOverlay() -
renderHelmet
-
renderFrostbite
-
renderArmor
-
renderPortalOverlay
protected void renderPortalOverlay(float partialTicks)- Overrides:
renderPortalOverlay
in classGui
-
renderAir
-
renderHealth
-
renderFood
-
renderSleepFade
-
renderExperience
-
renderJumpMeter
- Overrides:
renderJumpMeter
in classGui
-
renderHUDText
-
renderFPSGraph
-
renderRecordOverlay
-
renderTitle
-
renderChat
-
renderPlayerList
-
renderHealthMount
-
pre
-
post
-
pre
-
post
-
bind
-