Class StatsHudMobEntry
java.lang.Object
io.github.thecsdev.tcdcommons.api.client.gui.screen.TWidgetHudScreen.WidgetEntry<io.github.thecsdev.tcdcommons.api.client.gui.TElement>
io.github.thecsdev.betterstats.client.gui.screen.hud.entry.StatsHudMobEntry
public final class StatsHudMobEntry
extends io.github.thecsdev.tcdcommons.api.client.gui.screen.TWidgetHudScreen.WidgetEntry<io.github.thecsdev.tcdcommons.api.client.gui.TElement>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final net.minecraft.entity.EntityType
<?> protected net.minecraft.stat.StatType
<net.minecraft.entity.EntityType<?>> protected IStatsProvider
Fields inherited from class io.github.thecsdev.tcdcommons.api.client.gui.screen.TWidgetHudScreen.WidgetEntry
anchorX, anchorY
-
Constructor Summary
ConstructorDescriptionStatsHudMobEntry
(IStatsProvider statsProvider, net.minecraft.entity.EntityType<?> entityType) StatsHudMobEntry
(SUMobStat stat) -
Method Summary
Modifier and TypeMethodDescriptionfinal io.github.thecsdev.tcdcommons.api.client.gui.TElement
Methods inherited from class io.github.thecsdev.tcdcommons.api.client.gui.screen.TWidgetHudScreen.WidgetEntry
getHudScreen, refreshEntry, removeEntry
-
Field Details
-
statsProvider
-
entityType
protected final net.minecraft.entity.EntityType<?> entityType -
mode
protected net.minecraft.stat.StatType<net.minecraft.entity.EntityType<?>> mode
-
-
Constructor Details
-
StatsHudMobEntry
- Throws:
NullPointerException
-
StatsHudMobEntry
public StatsHudMobEntry(IStatsProvider statsProvider, net.minecraft.entity.EntityType<?> entityType) throws NullPointerException - Throws:
NullPointerException
-
-
Method Details
-
createWidget
public final io.github.thecsdev.tcdcommons.api.client.gui.TElement createWidget()- Specified by:
createWidget
in classio.github.thecsdev.tcdcommons.api.client.gui.screen.TWidgetHudScreen.WidgetEntry<io.github.thecsdev.tcdcommons.api.client.gui.TElement>
-