public class StatsScreen extends Screen implements IProgressMeter
Modifier and Type | Class and Description |
---|---|
(package private) class |
StatsScreen.CustomStatsList |
(package private) class |
StatsScreen.MobStatsList |
(package private) class |
StatsScreen.StatsList |
Modifier and Type | Field and Description |
---|---|
private ExtendedList<?> |
displaySlot |
private boolean |
doesGuiPauseGame |
private StatsScreen.CustomStatsList |
generalStats |
private StatsScreen.StatsList |
itemStats |
private StatsScreen.MobStatsList |
mobStats |
protected Screen |
parentScreen |
private StatisticsManager |
stats |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
LOADING_STRINGS
Constructor and Description |
---|
StatsScreen(Screen parent,
StatisticsManager manager) |
Modifier and Type | Method and Description |
---|---|
private void |
drawSprite(int x,
int y,
int u,
int v) |
private void |
drawStatsScreen(int x,
int y,
Item itemIn) |
private int |
func_195224_b(int p_195224_1_) |
void |
func_213110_a(ExtendedList<?> p_213110_1_) |
ExtendedList<?> |
func_213116_d() |
protected void |
init() |
void |
initButtons() |
void |
initLists() |
boolean |
isPauseScreen() |
void |
onStatsUpdated() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
protected final Screen parentScreen
private StatsScreen.CustomStatsList generalStats
private StatsScreen.StatsList itemStats
private StatsScreen.MobStatsList mobStats
private final StatisticsManager stats
@Nullable private ExtendedList<?> displaySlot
private boolean doesGuiPauseGame
public StatsScreen(Screen parent, StatisticsManager manager)
public void initLists()
public void initButtons()
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
public void onStatsUpdated()
onStatsUpdated
in interface IProgressMeter
public boolean isPauseScreen()
isPauseScreen
in class Screen
@Nullable public ExtendedList<?> func_213116_d()
public void func_213110_a(@Nullable ExtendedList<?> p_213110_1_)
private int func_195224_b(int p_195224_1_)
private void drawStatsScreen(int x, int y, Item itemIn)
private void drawSprite(int x, int y, int u, int v)