public class IngameGui extends AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Modifier and Type | Method and Description |
---|---|
void |
addChatMessage(ChatType chatTypeIn,
ITextComponent message) |
void |
displayTitle(java.lang.String title,
java.lang.String subTitle,
int timeFadeIn,
int displayTime,
int timeFadeOut) |
BossOverlayGui |
getBossOverlay() |
NewChatGui |
getChatGUI() |
FontRenderer |
getFontRenderer() |
private LivingEntity |
getMountEntity() |
private int |
getRenderMountHealth(LivingEntity p_212306_1_) |
private PlayerEntity |
getRenderViewPlayer() |
SpectatorGui |
getSpectatorGui() |
PlayerTabOverlayGui |
getTabList() |
int |
getTicks() |
private int |
getVisibleMountHealthRows(int p_212302_1_) |
private boolean |
isTargetNamedMenuProvider(RayTraceResult rayTraceIn) |
protected void |
renderAttackIndicator() |
void |
renderDemoOverlay() |
void |
renderExpBar(int x) |
void |
renderGameOverlay(float partialTicks) |
void |
renderHorseJumpBar(int x) |
protected void |
renderHotbar(float partialTicks) |
private void |
renderHotbarItem(int x,
int y,
float partialTicks,
PlayerEntity player,
ItemStack stack) |
private void |
renderPlayerStats() |
protected void |
renderPortal(float timeInPortal) |
protected void |
renderPotionEffects() |
protected void |
renderPumpkinOverlay() |
protected void |
renderScoreboard(ScoreObjective objective) |
void |
renderSelectedItem() |
protected void |
renderTextBackground(FontRenderer fontRendererIn,
int yIn,
int stringWidthIn) |
private void |
renderVehicleHealth() |
protected void |
renderVignette(Entity entityIn) |
void |
reset() |
void |
resetPlayersOverlayFooterHeader() |
void |
setDefaultTitlesTimes() |
void |
setOverlayMessage(ITextComponent component,
boolean animateColor) |
void |
setOverlayMessage(java.lang.String message,
boolean animateColor) |
void |
setRecordPlayingMessage(java.lang.String recordName) |
void |
tick() |
private void |
updateVignetteBrightness(Entity entityIn) |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
protected static final ResourceLocation VIGNETTE_TEX_PATH
protected static final ResourceLocation WIDGETS_TEX_PATH
protected static final ResourceLocation PUMPKIN_BLUR_TEX_PATH
protected final java.util.Random rand
protected final Minecraft mc
protected final ItemRenderer itemRenderer
protected final NewChatGui persistantChatGUI
protected int ticks
protected java.lang.String overlayMessage
protected int overlayMessageTime
protected boolean animateOverlayMessageColor
public float prevVignetteBrightness
protected int remainingHighlightTicks
protected ItemStack highlightingItemStack
protected final DebugOverlayGui overlayDebug
protected final SubtitleOverlayGui overlaySubtitle
protected final SpectatorGui spectatorGui
protected final PlayerTabOverlayGui overlayPlayerList
protected final BossOverlayGui overlayBoss
protected int titlesTimer
protected java.lang.String displayedTitle
protected java.lang.String displayedSubTitle
protected int titleFadeIn
protected int titleDisplayTime
protected int titleFadeOut
protected int playerHealth
protected int lastPlayerHealth
protected long lastSystemTime
protected long healthUpdateCounter
protected int scaledWidth
protected int scaledHeight
protected final java.util.Map<ChatType,java.util.List<IChatListener>> chatListeners
public IngameGui(Minecraft mcIn)
public void setDefaultTitlesTimes()
public void renderGameOverlay(float partialTicks)
protected void renderTextBackground(FontRenderer fontRendererIn, int yIn, int stringWidthIn)
protected void renderAttackIndicator()
private boolean isTargetNamedMenuProvider(RayTraceResult rayTraceIn)
protected void renderPotionEffects()
protected void renderHotbar(float partialTicks)
public void renderHorseJumpBar(int x)
public void renderExpBar(int x)
public void renderSelectedItem()
public void renderDemoOverlay()
protected void renderScoreboard(ScoreObjective objective)
private PlayerEntity getRenderViewPlayer()
private LivingEntity getMountEntity()
private int getRenderMountHealth(LivingEntity p_212306_1_)
private int getVisibleMountHealthRows(int p_212302_1_)
private void renderPlayerStats()
private void renderVehicleHealth()
protected void renderPumpkinOverlay()
private void updateVignetteBrightness(Entity entityIn)
protected void renderVignette(Entity entityIn)
protected void renderPortal(float timeInPortal)
private void renderHotbarItem(int x, int y, float partialTicks, PlayerEntity player, ItemStack stack)
public void tick()
public void setRecordPlayingMessage(java.lang.String recordName)
public void setOverlayMessage(java.lang.String message, boolean animateColor)
public void displayTitle(java.lang.String title, java.lang.String subTitle, int timeFadeIn, int displayTime, int timeFadeOut)
public void setOverlayMessage(ITextComponent component, boolean animateColor)
public void addChatMessage(ChatType chatTypeIn, ITextComponent message)
public NewChatGui getChatGUI()
public int getTicks()
public FontRenderer getFontRenderer()
public SpectatorGui getSpectatorGui()
public PlayerTabOverlayGui getTabList()
public void resetPlayersOverlayFooterHeader()
public BossOverlayGui getBossOverlay()
public void reset()