类 StatsScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.StatsScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,StatsListener,TickableElement
@Environment(CLIENT) public class StatsScreen extends Screen implements StatsListener
- Mappings:
Namespace Name official dzointermediary net/minecraft/class_447named net/minecraft/client/gui/screen/StatsScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classStatsScreen.EntityStatsListWidget(专用程序包) classStatsScreen.GeneralStatsListWidget(专用程序包) classStatsScreen.ItemStatsListWidget
-
字段概要
字段 修饰符和类型 字段 说明 private static TextDOWNLOADING_STATS_TEXTprivate booleandownloadingStatsprivate static intfield_32274private static intfield_32275private static intfield_32276private static intfield_32277private static intfield_32278private static intfield_32279private static intfield_32280private static intfield_32281private static intfield_32282private static intfield_32283private static intfield_32284private static intfield_32285private StatsScreen.GeneralStatsListWidgetgeneralStatsprivate StatsScreen.ItemStatsListWidgetitemStatsprivate StatsScreen.EntityStatsListWidgetmobStatsprotected Screenparentprivate @Nullable AlwaysSelectedEntryListWidget<?>selectedListprivate StatHandlerstatHandler-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
从接口继承的字段 net.minecraft.client.gui.screen.StatsListener
PROGRESS_BAR_STAGES
-
-
构造器概要
构造器 构造器 说明 StatsScreen(Screen parent, StatHandler statHandler)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcreateButtons()voidcreateLists()private intgetColumnX(int index)@Nullable AlwaysSelectedEntryListWidget<?>getSelectedStatList()private static StringgetStatTranslationKey(Stat<Identifier> stat)protected voidinit()Called when a screen should be initialized.booleanisPauseScreen()voidonStatsReady()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)private voidrenderIcon(MatrixStack matrices, int x, int y, int u, int v)private voidrenderStatItem(MatrixStack matrices, int x, int y, Item item)voidselectStatList(@Nullable AlwaysSelectedEntryListWidget<?> list)-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
DOWNLOADING_STATS_TEXT
private static final Text DOWNLOADING_STATS_TEXT
- Mappings:
Namespace Name Mixin selector official cLdzo;c:Lon;intermediary field_26546Lnet/minecraft/class_447;field_26546:Lnet/minecraft/class_2561;named DOWNLOADING_STATS_TEXTLnet/minecraft/client/gui/screen/StatsScreen;DOWNLOADING_STATS_TEXT:Lnet/minecraft/text/Text;
-
field_32281
private static final int field_32281
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official vLdzo;v:Iintermediary field_32281Lnet/minecraft/class_447;field_32281:Inamed field_32281Lnet/minecraft/client/gui/screen/StatsScreen;field_32281:I
-
field_32282
private static final int field_32282
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official wLdzo;w:Iintermediary field_32282Lnet/minecraft/class_447;field_32282:Inamed field_32282Lnet/minecraft/client/gui/screen/StatsScreen;field_32282:I
-
field_32283
private static final int field_32283
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official xLdzo;x:Iintermediary field_32283Lnet/minecraft/class_447;field_32283:Inamed field_32283Lnet/minecraft/client/gui/screen/StatsScreen;field_32283:I
-
field_32284
private static final int field_32284
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official yLdzo;y:Iintermediary field_32284Lnet/minecraft/class_447;field_32284:Inamed field_32284Lnet/minecraft/client/gui/screen/StatsScreen;field_32284:I
-
field_32285
private static final int field_32285
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official zLdzo;z:Iintermediary field_32285Lnet/minecraft/class_447;field_32285:Inamed field_32285Lnet/minecraft/client/gui/screen/StatsScreen;field_32285:I
-
field_32274
private static final int field_32274
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ALdzo;A:Iintermediary field_32274Lnet/minecraft/class_447;field_32274:Inamed field_32274Lnet/minecraft/client/gui/screen/StatsScreen;field_32274:I
-
field_32275
private static final int field_32275
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official BLdzo;B:Iintermediary field_32275Lnet/minecraft/class_447;field_32275:Inamed field_32275Lnet/minecraft/client/gui/screen/StatsScreen;field_32275:I
-
field_32276
private static final int field_32276
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official CLdzo;C:Iintermediary field_32276Lnet/minecraft/class_447;field_32276:Inamed field_32276Lnet/minecraft/client/gui/screen/StatsScreen;field_32276:I
-
field_32277
private static final int field_32277
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official DLdzo;D:Iintermediary field_32277Lnet/minecraft/class_447;field_32277:Inamed field_32277Lnet/minecraft/client/gui/screen/StatsScreen;field_32277:I
-
field_32278
private static final int field_32278
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ELdzo;E:Iintermediary field_32278Lnet/minecraft/class_447;field_32278:Inamed field_32278Lnet/minecraft/client/gui/screen/StatsScreen;field_32278:I
-
field_32279
private static final int field_32279
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official FLdzo;F:Iintermediary field_32279Lnet/minecraft/class_447;field_32279:Inamed field_32279Lnet/minecraft/client/gui/screen/StatsScreen;field_32279:I
-
field_32280
private static final int field_32280
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official GLdzo;G:Iintermediary field_32280Lnet/minecraft/class_447;field_32280:Inamed field_32280Lnet/minecraft/client/gui/screen/StatsScreen;field_32280:I
-
parent
protected final Screen parent
- Mappings:
Namespace Name Mixin selector official aLdzo;a:Ldzg;intermediary field_2648Lnet/minecraft/class_447;field_2648:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/StatsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
generalStats
private StatsScreen.GeneralStatsListWidget generalStats
- Mappings:
Namespace Name Mixin selector official pLdzo;p:Ldzo$a;intermediary field_2644Lnet/minecraft/class_447;field_2644:Lnet/minecraft/class_447$class_4198;named generalStatsLnet/minecraft/client/gui/screen/StatsScreen;generalStats:Lnet/minecraft/client/gui/screen/StatsScreen$GeneralStatsListWidget;
-
itemStats
private StatsScreen.ItemStatsListWidget itemStats
- Mappings:
Namespace Name Mixin selector official qLdzo;q:Ldzo$b;intermediary field_2642Lnet/minecraft/class_447;field_2642:Lnet/minecraft/class_447$class_4200;named itemStatsLnet/minecraft/client/gui/screen/StatsScreen;itemStats:Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;
-
mobStats
private StatsScreen.EntityStatsListWidget mobStats
- Mappings:
Namespace Name Mixin selector official rLdzo;r:Ldzo$c;intermediary field_2646Lnet/minecraft/class_447;field_2646:Lnet/minecraft/class_447$class_4202;named mobStatsLnet/minecraft/client/gui/screen/StatsScreen;mobStats:Lnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget;
-
statHandler
private final StatHandler statHandler
- Mappings:
Namespace Name Mixin selector official sLdzo;s:Lafh;intermediary field_2647Lnet/minecraft/class_447;field_2647:Lnet/minecraft/class_3469;named statHandlerLnet/minecraft/client/gui/screen/StatsScreen;statHandler:Lnet/minecraft/stat/StatHandler;
-
selectedList
@Nullable private @Nullable AlwaysSelectedEntryListWidget<?> selectedList
- Mappings:
Namespace Name Mixin selector official tLdzo;t:Ldwj;intermediary field_2643Lnet/minecraft/class_447;field_2643:Lnet/minecraft/class_4280;named selectedListLnet/minecraft/client/gui/screen/StatsScreen;selectedList:Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;
-
downloadingStats
private boolean downloadingStats
- Mappings:
Namespace Name Mixin selector official uLdzo;u:Zintermediary field_2645Lnet/minecraft/class_447;field_2645:Znamed downloadingStatsLnet/minecraft/client/gui/screen/StatsScreen;downloadingStats:Z
-
-
构造器详细资料
-
StatsScreen
public StatsScreen(Screen parent, StatHandler statHandler)
- Mappings:
Namespace Name Mixin selector official <init>Ldzo;<init>(Ldzg;Lafh;)Vintermediary <init>Lnet/minecraft/class_447;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3469;)Vnamed <init>Lnet/minecraft/client/gui/screen/StatsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/stat/StatHandler;)V
-
-
方法详细资料
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
createLists
public void createLists()
- Mappings:
Namespace Name Mixin selector official hLdzo;h()Vintermediary method_2270Lnet/minecraft/class_447;method_2270()Vnamed createListsLnet/minecraft/client/gui/screen/StatsScreen;createLists()V
-
createButtons
public void createButtons()
- Mappings:
Namespace Name Mixin selector official iLdzo;i()Vintermediary method_2267Lnet/minecraft/class_447;method_2267()Vnamed createButtonsLnet/minecraft/client/gui/screen/StatsScreen;createButtons()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
onStatsReady
public void onStatsReady()
- 指定者:
onStatsReady在接口中StatsListener- Mappings:
Namespace Name Mixin selector official kLdzp;k()Vintermediary method_2300Lnet/minecraft/class_452;method_2300()Vnamed onStatsReadyLnet/minecraft/client/gui/screen/StatsListener;onStatsReady()V
-
isPauseScreen
public boolean isPauseScreen()
- 覆盖:
isPauseScreen在类中Screen- Mappings:
Namespace Name Mixin selector official aE_Ldzg;aE_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
getSelectedStatList
@Nullable public @Nullable AlwaysSelectedEntryListWidget<?> getSelectedStatList()
- Mappings:
Namespace Name Mixin selector official lLdzo;l()Ldwj;intermediary method_19399Lnet/minecraft/class_447;method_19399()Lnet/minecraft/class_4280;named getSelectedStatListLnet/minecraft/client/gui/screen/StatsScreen;getSelectedStatList()Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;
-
selectStatList
public void selectStatList(@Nullable @Nullable AlwaysSelectedEntryListWidget<?> list)
- Mappings:
Namespace Name Mixin selector official aLdzo;a(Ldwj;)Vintermediary method_19390Lnet/minecraft/class_447;method_19390(Lnet/minecraft/class_4280;)Vnamed selectStatListLnet/minecraft/client/gui/screen/StatsScreen;selectStatList(Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;)V
-
getStatTranslationKey
private static String getStatTranslationKey(Stat<Identifier> stat)
- Mappings:
Namespace Name Mixin selector official bLdzo;b(Lafd;)Ljava/lang/String;intermediary method_27027Lnet/minecraft/class_447;method_27027(Lnet/minecraft/class_3445;)Ljava/lang/String;named getStatTranslationKeyLnet/minecraft/client/gui/screen/StatsScreen;getStatTranslationKey(Lnet/minecraft/stat/Stat;)Ljava/lang/String;
-
getColumnX
private int getColumnX(int index)
- Mappings:
Namespace Name Mixin selector official aLdzo;a(I)Iintermediary method_2285Lnet/minecraft/class_447;method_2285(I)Inamed getColumnXLnet/minecraft/client/gui/screen/StatsScreen;getColumnX(I)I
-
renderStatItem
private void renderStatItem(MatrixStack matrices, int x, int y, Item item)
- Mappings:
Namespace Name Mixin selector official aLdzo;a(Ldpi;IILbpn;)Vintermediary method_2289Lnet/minecraft/class_447;method_2289(Lnet/minecraft/class_4587;IILnet/minecraft/class_1792;)Vnamed renderStatItemLnet/minecraft/client/gui/screen/StatsScreen;renderStatItem(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/item/Item;)V
-
renderIcon
private void renderIcon(MatrixStack matrices, int x, int y, int u, int v)
- Mappings:
Namespace Name Mixin selector official cLdzo;c(Ldpi;IIII)Vintermediary method_2282Lnet/minecraft/class_447;method_2282(Lnet/minecraft/class_4587;IIII)Vnamed renderIconLnet/minecraft/client/gui/screen/StatsScreen;renderIcon(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
-