类 StatsScreen.EntityStatsListWidget.Entry
- java.lang.Object
-
- net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
-
- net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<StatsScreen.EntityStatsListWidget.Entry>
-
- net.minecraft.client.gui.screen.StatsScreen.EntityStatsListWidget.Entry
-
- 所有已实现的接口:
Element
@Environment(CLIENT) class StatsScreen.EntityStatsListWidget.Entry extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.EntityStatsListWidget.Entry>
- Mappings:
Namespace Name official dzo$c$aintermediary net/minecraft/class_447$class_4202$class_4201named net/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry
-
-
字段概要
字段 修饰符和类型 字段 说明 private EntityType<?>entityTypeprivate TextentityTypeNameprivate booleankilledAnyprivate booleankilledByAnyprivate TextkilledByTextprivate TextkilledText
-
构造器概要
构造器 构造器 说明 Entry(EntityType<?> entityType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)Renders an entry in a list.-
从类继承的方法 net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocus
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
字段详细资料
-
entityType
private final EntityType<?> entityType
- Mappings:
Namespace Name Mixin selector official bLdzo$c$a;b:Lasp;intermediary field_18762Lnet/minecraft/class_447$class_4202$class_4201;field_18762:Lnet/minecraft/class_1299;named entityTypeLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;entityType:Lnet/minecraft/entity/EntityType;
-
entityTypeName
private final Text entityTypeName
- Mappings:
Namespace Name Mixin selector official cLdzo$c$a;c:Lon;intermediary field_26548Lnet/minecraft/class_447$class_4202$class_4201;field_26548:Lnet/minecraft/class_2561;named entityTypeNameLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;entityTypeName:Lnet/minecraft/text/Text;
-
killedText
private final Text killedText
- Mappings:
Namespace Name Mixin selector official dLdzo$c$a;d:Lon;intermediary field_26549Lnet/minecraft/class_447$class_4202$class_4201;field_26549:Lnet/minecraft/class_2561;named killedTextLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;killedText:Lnet/minecraft/text/Text;
-
killedAny
private final boolean killedAny
- Mappings:
Namespace Name Mixin selector official eLdzo$c$a;e:Zintermediary field_26550Lnet/minecraft/class_447$class_4202$class_4201;field_26550:Znamed killedAnyLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;killedAny:Z
-
killedByText
private final Text killedByText
- Mappings:
Namespace Name Mixin selector official fLdzo$c$a;f:Lon;intermediary field_26551Lnet/minecraft/class_447$class_4202$class_4201;field_26551:Lnet/minecraft/class_2561;named killedByTextLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;killedByText:Lnet/minecraft/text/Text;
-
killedByAny
private final boolean killedByAny
- Mappings:
Namespace Name Mixin selector official gLdzo$c$a;g:Zintermediary field_26552Lnet/minecraft/class_447$class_4202$class_4201;field_26552:Znamed killedByAnyLnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;killedByAny:Z
-
-
构造器详细资料
-
Entry
public Entry(EntityType<?> entityType)
- Mappings:
Namespace Name Mixin selector official <init>Ldzo$c$a;<init>(Ldzo$c;Lasp;)Vintermediary <init>Lnet/minecraft/class_447$class_4202$class_4201;<init>(Lnet/minecraft/class_447$class_4202;Lnet/minecraft/class_1299;)Vnamed <init>Lnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget$Entry;<init>(Lnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget;Lnet/minecraft/entity/EntityType;)V
-
-
方法详细资料
-
render
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
Renders an entry in a list.- 指定者:
render在类中EntryListWidget.Entry<StatsScreen.EntityStatsListWidget.Entry>- 参数:
matrices- the matrix stack used for renderingindex- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official aLdvs$a;a(Ldpi;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
-