Class StatsScreen.StatList.StatEntry

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<StatsScreen.StatList.StatEntry>
dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarrationSupplier
Enclosing class:
StatsScreen.StatList

public class StatsScreen.StatList.StatEntry extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<StatsScreen.StatList.StatEntry>
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.network.chat.Component
     
    void
    renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean isHovering, float partialTick)
     
    withDecoration(int decoration)
     

    Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry

    mouseClicked, updateNarration

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Method Details

    • getNarration

      @NotNull public @NotNull net.minecraft.network.chat.Component getNarration()
      Specified by:
      getNarration in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<StatsScreen.StatList.StatEntry>
    • withDecoration

      public StatsScreen.StatList.StatEntry withDecoration(int decoration)
    • renderContent

      public void renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean isHovering, float partialTick)