public class GuiIngame extends Gui
Modifier and Type | Field and Description |
---|---|
protected int |
field_175192_A |
protected int |
field_175193_B |
protected int |
field_175195_w |
protected int |
field_175199_z |
protected java.lang.String |
field_175200_y |
protected java.lang.String |
field_175201_x |
protected long |
healthUpdateCounter
Used with updateCounter to make the heart bar flash
|
protected ItemStack |
highlightingItemStack
The ItemStack that is currently being highlighted
|
protected RenderItem |
itemRenderer |
protected int |
lastPlayerHealth |
protected long |
lastSystemTime
The last recorded system time
|
protected Minecraft |
mc |
protected GuiOverlayDebug |
overlayDebug |
protected GuiPlayerTabOverlay |
overlayPlayerList |
protected GuiNewChat |
persistantChatGUI
ChatGUI instance that retains all previous chat data
|
protected int |
playerHealth |
float |
prevVignetteBrightness
Previous frame vignette brightness (slowly changes by 1% each frame)
|
protected static ResourceLocation |
pumpkinBlurTexPath |
protected java.util.Random |
rand |
protected boolean |
recordIsPlaying |
protected java.lang.String |
recordPlaying
The string specifying which record music is playing
|
protected int |
recordPlayingUpFor
How many ticks the record playing message will be displayed
|
protected int |
remainingHighlightTicks
Remaining ticks the item highlight should be visible
|
protected GuiSpectator |
spectatorGui
The spectator GUI for this in-game GUI instance
|
protected GuiStreamIndicator |
streamIndicator |
protected int |
updateCounter |
protected static ResourceLocation |
vignetteTexPath |
protected static ResourceLocation |
widgetsTexPath |
icons, optionsBackground, statIcons, zLevel
Modifier and Type | Method and Description |
---|---|
void |
displayTitle(java.lang.String p_175178_1_,
java.lang.String p_175178_2_,
int p_175178_3_,
int p_175178_4_,
int p_175178_5_) |
void |
func_175177_a() |
void |
func_181029_i() |
GuiNewChat |
getChatGUI()
returns a pointer to the persistant Chat GUI, containing all previous chat messages and such
|
FontRenderer |
getFontRenderer() |
GuiSpectator |
getSpectatorGui() |
GuiPlayerTabOverlay |
getTabList() |
int |
getUpdateCounter() |
protected void |
renderBossHealth()
Renders dragon's (boss) health on the HUD
|
void |
renderDemo(ScaledResolution p_175185_1_) |
void |
renderExpBar(ScaledResolution p_175176_1_,
int p_175176_2_) |
void |
renderGameOverlay(float partialTicks) |
void |
renderHorseJumpBar(ScaledResolution p_175186_1_,
int p_175186_2_) |
protected void |
renderHotbarItem(int index,
int xPos,
int yPos,
float partialTicks,
EntityPlayer p_175184_5_) |
protected void |
renderPlayerStats(ScaledResolution p_180477_1_) |
protected void |
renderPortal(float p_180474_1_,
ScaledResolution p_180474_2_) |
protected void |
renderPumpkinOverlay(ScaledResolution p_180476_1_) |
protected void |
renderScoreboard(ScoreObjective p_180475_1_,
ScaledResolution p_180475_2_) |
void |
renderSelectedItem(ScaledResolution p_181551_1_) |
void |
renderStreamIndicator(ScaledResolution p_180478_1_) |
protected void |
renderTooltip(ScaledResolution sr,
float partialTicks) |
protected void |
renderVignette(float p_180480_1_,
ScaledResolution p_180480_2_)
Renders a Vignette arount the entire screen that changes with light level.
|
void |
setRecordPlaying(IChatComponent p_175188_1_,
boolean p_175188_2_) |
void |
setRecordPlaying(java.lang.String p_110326_1_,
boolean p_110326_2_) |
void |
setRecordPlayingMessage(java.lang.String p_73833_1_) |
protected boolean |
showCrosshair() |
void |
updateTick()
The update tick for the ingame UI
|
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected static final ResourceLocation vignetteTexPath
protected static final ResourceLocation widgetsTexPath
protected static final ResourceLocation pumpkinBlurTexPath
protected final java.util.Random rand
protected final Minecraft mc
protected final RenderItem itemRenderer
protected final GuiNewChat persistantChatGUI
protected final GuiStreamIndicator streamIndicator
protected int updateCounter
protected java.lang.String recordPlaying
protected int recordPlayingUpFor
protected boolean recordIsPlaying
public float prevVignetteBrightness
protected int remainingHighlightTicks
protected ItemStack highlightingItemStack
protected final GuiOverlayDebug overlayDebug
protected final GuiSpectator spectatorGui
protected final GuiPlayerTabOverlay overlayPlayerList
protected int field_175195_w
protected java.lang.String field_175201_x
protected java.lang.String field_175200_y
protected int field_175199_z
protected int field_175192_A
protected int field_175193_B
protected int playerHealth
protected int lastPlayerHealth
protected long lastSystemTime
protected long healthUpdateCounter
public GuiIngame(Minecraft mcIn)
public void func_175177_a()
public void renderGameOverlay(float partialTicks)
protected void renderTooltip(ScaledResolution sr, float partialTicks)
public void renderHorseJumpBar(ScaledResolution p_175186_1_, int p_175186_2_)
public void renderExpBar(ScaledResolution p_175176_1_, int p_175176_2_)
public void renderSelectedItem(ScaledResolution p_181551_1_)
public void renderDemo(ScaledResolution p_175185_1_)
protected boolean showCrosshair()
public void renderStreamIndicator(ScaledResolution p_180478_1_)
protected void renderScoreboard(ScoreObjective p_180475_1_, ScaledResolution p_180475_2_)
protected void renderPlayerStats(ScaledResolution p_180477_1_)
protected void renderBossHealth()
protected void renderPumpkinOverlay(ScaledResolution p_180476_1_)
protected void renderVignette(float p_180480_1_, ScaledResolution p_180480_2_)
protected void renderPortal(float p_180474_1_, ScaledResolution p_180474_2_)
protected void renderHotbarItem(int index, int xPos, int yPos, float partialTicks, EntityPlayer p_175184_5_)
public void updateTick()
public void setRecordPlayingMessage(java.lang.String p_73833_1_)
public void setRecordPlaying(java.lang.String p_110326_1_, boolean p_110326_2_)
public void displayTitle(java.lang.String p_175178_1_, java.lang.String p_175178_2_, int p_175178_3_, int p_175178_4_, int p_175178_5_)
public void setRecordPlaying(IChatComponent p_175188_1_, boolean p_175188_2_)
public GuiNewChat getChatGUI()
public int getUpdateCounter()
public FontRenderer getFontRenderer()
public GuiSpectator getSpectatorGui()
public GuiPlayerTabOverlay getTabList()
public void func_181029_i()