Class StatsScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.achievement.StatsScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,StatsUpdateListener
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate ObjectSelectionList<?>
(package private) static final ResourceLocation
private boolean
(package private) StatsScreen.ItemStatisticsList
protected final Screen
private StatsScreen.MobsStatisticsList
(package private) static final Component
private static final Component
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
(package private) static final ResourceLocation
private static final int
private static final int
private static final int
(package private) static final ResourceLocation
private static final int
private static final int
(package private) static final ResourceLocation
(package private) final StatsCounter
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
Fields inherited from interface net.minecraft.client.gui.screens.achievement.StatsUpdateListener
LOADING_SYMBOLS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
blitSlot
(GuiGraphics p_282402_, int p_283228_, int p_283232_, Item p_282368_) (package private) void
blitSlotIcon
(GuiGraphics p_281402_, int p_283145_, int p_283100_, ResourceLocation p_299088_) (package private) int
getColumnX
(int p_96909_) (package private) static String
getTranslationKey
(Stat<ResourceLocation> p_96947_) protected void
init()
void
void
boolean
void
void
render
(GuiGraphics p_281866_, int p_96914_, int p_96915_, float p_96916_) void
renderBackground
(GuiGraphics p_299638_, int p_297645_, int p_299202_, float p_301378_) void
setActiveList
(ObjectSelectionList<?> p_96925_) Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
SLOT_SPRITE
-
HEADER_SPRITE
-
SORT_UP_SPRITE
-
SORT_DOWN_SPRITE
-
PENDING_TEXT
-
NO_VALUE_DISPLAY
-
lastScreen
-
statsList
-
itemStatsList
StatsScreen.ItemStatisticsList itemStatsList -
mobsStatsList
-
stats
-
activeList
-
isLoading
private boolean isLoading -
SLOT_BG_SIZE
private static final int SLOT_BG_SIZE- See Also:
-
SLOT_STAT_HEIGHT
private static final int SLOT_STAT_HEIGHT- See Also:
-
SLOT_BG_X
private static final int SLOT_BG_X- See Also:
-
SLOT_BG_Y
private static final int SLOT_BG_Y- See Also:
-
SLOT_FG_X
private static final int SLOT_FG_X- See Also:
-
SLOT_FG_Y
private static final int SLOT_FG_Y- See Also:
-
SLOT_LEFT_INSERT
private static final int SLOT_LEFT_INSERT- See Also:
-
SLOT_TEXT_OFFSET
private static final int SLOT_TEXT_OFFSET- See Also:
-
SORT_NONE
private static final int SORT_NONE- See Also:
-
SORT_DOWN
private static final int SORT_DOWN- See Also:
-
SORT_UP
private static final int SORT_UP- See Also:
-
-
Constructor Details
-
StatsScreen
-
-
Method Details
-
init
protected void init() -
initLists
public void initLists() -
initButtons
public void initButtons() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
renderBackground
- Overrides:
renderBackground
in classScreen
-
onStatsUpdated
public void onStatsUpdated()- Specified by:
onStatsUpdated
in interfaceStatsUpdateListener
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
getActiveList
-
setActiveList
-
getTranslationKey
-
getColumnX
int getColumnX(int p_96909_) -
blitSlot
-
blitSlotIcon
-