Package net.minecraft.client.gui.screen
Class 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
- All Implemented Interfaces:
Element
- Enclosing class:
- StatsScreen.EntityStatsListWidget
@Environment(CLIENT) class StatsScreen.EntityStatsListWidget.Entry extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.EntityStatsListWidget.Entry>
-
Field Summary
Fields Modifier and Type Field Description private EntityType<?>entityType -
Constructor Summary
Constructors Constructor Description Entry(EntityType<?> entityType) -
Method Summary
Modifier and Type Method Description private StringgetKilledByString(String entityName, int killCount)private StringgetKilledString(String entityName, int killCount)voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
Constructor Details
-
Method Details
-
render
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)- Specified by:
renderin classEntryListWidget.Entry<StatsScreen.EntityStatsListWidget.Entry>
-
getKilledString
-
getKilledByString
-