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
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) classNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ObjectSelectionList<?>(package private) static final ResourceLocationprivate boolean(package private) StatsScreen.ItemStatisticsListprotected final Screenprivate StatsScreen.MobsStatisticsList(package private) static final Componentprivate static final Componentprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int(package private) static final ResourceLocationprivate static final intprivate static final intprivate static final int(package private) static final ResourceLocationprivate static final intprivate static final int(package private) static final ResourceLocation(package private) final StatsCounterFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MSFields inherited from interface net.minecraft.client.gui.screens.achievement.StatsUpdateListener
LOADING_SYMBOLS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidblitSlot(GuiGraphics p_282402_, int p_283228_, int p_283232_, Item p_282368_) (package private) voidblitSlotIcon(GuiGraphics p_281402_, int p_283145_, int p_283100_, ResourceLocation p_299088_) (package private) intgetColumnX(int p_96909_) (package private) static StringgetTranslationKey(Stat<ResourceLocation> p_96947_) protected voidinit()voidvoidbooleanvoidvoidrender(GuiGraphics p_281866_, int p_96914_, int p_96915_, float p_96916_) voidrenderBackground(GuiGraphics p_299638_, int p_297645_, int p_299202_, float p_301378_) voidsetActiveList(ObjectSelectionList<?> p_96925_) Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods 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:
renderin interfaceRenderable- Overrides:
renderin classScreen
-
renderBackground
- Overrides:
renderBackgroundin classScreen
-
onStatsUpdated
public void onStatsUpdated()- Specified by:
onStatsUpdatedin interfaceStatsUpdateListener
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classScreen
-
setActiveList
-
getTranslationKey
-
getColumnX
int getColumnX(int p_96909_) -
blitSlot
-
blitSlotIcon
-