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<?>
private boolean
(package private) StatsScreen.ItemStatisticsList
protected final Screen
private StatsScreen.MobsStatisticsList
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
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) final StatsCounter
private static final ResourceLocation
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_, int p_282128_, int p_281483_) (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
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, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, 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
-
PENDING_TEXT
-
STATS_ICON_LOCATION
-
lastScreen
-
statsList
-
itemStatsList
StatsScreen.ItemStatisticsList itemStatsList -
mobsStatsList
-
stats
-
activeList
-
isLoading
private boolean isLoading -
SLOT_TEX_SIZE
private static final int SLOT_TEX_SIZE- See Also:
-
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
-
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
void blitSlotIcon(GuiGraphics p_281402_, int p_283145_, int p_283100_, int p_282128_, int p_281483_)
-