Class ShortListHudElement

All Implemented Interfaces:
IHudElement, Globals, IRenderable2D, org.rusherhack.core.bind.IBindable, org.rusherhack.core.event.listener.EventListener, org.rusherhack.core.feature.IFeature, org.rusherhack.core.feature.IFeatureConfigurable, org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IDraggable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.INamed, org.rusherhack.core.interfaces.ITickable, org.rusherhack.core.interfaces.IToggleable, org.rusherhack.core.logging.ILoggable, org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>, org.rusherhack.core.serialize.JsonSerializable

public abstract class ShortListHudElement extends HudElement
  • Field Details

    • PADDING

      public static final double PADDING
      See Also:
    • COMMA_SEPARATOR_COMPONENT

      public static final net.minecraft.network.chat.Component COMMA_SEPARATOR_COMPONENT
  • Constructor Details

    • ShortListHudElement

      public ShortListHudElement(String name)
  • Method Details

    • getComponents

      public abstract net.minecraft.network.chat.Component[] getComponents()
    • renderContent

      public void renderContent(RenderContext context, double mouseX, double mouseY)
      Description copied from interface: IHudElement
      Hud element is being called for rendering.

      Matrix is translated to the top left corner of the element before being called.

    • tick

      public void tick()
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in class ElementBase
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in class ElementBase