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 final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
private RenderGameOverlayEvent
static final IIngameOverlay
private Font
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
int
private static final org.apache.logging.log4j.Logger
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static double
static final IIngameOverlay
int
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
static final IIngameOverlay
private static final int
Fields inherited from class net.minecraft.client.gui.Gui
animateOverlayMessageColor, AUTOSAVE_FADE_SPEED_FACTOR, autosaveIndicatorValue, bossOverlay, chat, chatListeners, COLOR_WHITE, debugScreen, DEMO_EXPIRED_TEXT, displayHealth, healthBlinkTime, HEART_SEPARATION, HEART_SIZE, itemRenderer, lastAutosaveIndicatorValue, 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, SAVING_TEXT, 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 poseStack) private void
post
(IIngameOverlay overlay, PoseStack poseStack) private boolean
pre
(RenderGameOverlayEvent.ElementType type, PoseStack poseStack) private boolean
pre
(IIngameOverlay overlay, PoseStack poseStack) void
protected void
protected void
renderArmor
(PoseStack poseStack, int width, int height) protected void
renderBossHealth
(PoseStack poseStack) protected void
renderChat
(int width, int height, PoseStack pStack) protected void
renderExperience
(int x, PoseStack poseStack) void
renderFood
(int width, int height, PoseStack poseStack) protected void
renderFPSGraph
(PoseStack poseStack) private void
renderFrostbite
(PoseStack pStack) void
renderHealth
(int width, int height, PoseStack pStack) protected void
renderHealthMount
(int width, int height, PoseStack poseStack) private void
renderHelmet
(float partialTick, PoseStack poseStack) protected void
renderHUDText
(int width, int height, PoseStack poseStack) void
renderJumpMeter
(PoseStack poseStack, int x) protected void
renderPlayerList
(int width, int height, PoseStack poseStack) protected void
renderPortalOverlay
(float partialTick) protected void
renderRecordOverlay
(int width, int height, float partialTick, PoseStack pStack) protected void
renderSleepFade
(int width, int height, PoseStack poseStack) private void
protected void
renderSubtitles
(PoseStack poseStack) protected void
renderTitle
(int width, int height, float partialTick, 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:
-
rayTraceDistance
public static double rayTraceDistance -
left_height
public int left_height -
right_height
public int right_height -
font
-
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 partialTick) - 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
-