Class ShortListHudElement
java.lang.Object
org.rusherhack.client.api.ui.ElementBase
org.rusherhack.client.api.ui.ScaledElementBase
org.rusherhack.client.api.feature.hud.HudElement
org.rusherhack.client.api.feature.hud.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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.rusherhack.client.api.feature.hud.HudElement
HudElement.Alignment, HudElement.SnapPoint
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.network.chat.Component
static final double
Fields inherited from class org.rusherhack.client.api.feature.hud.HudElement
alignment, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract net.minecraft.network.chat.Component[]
double
double
getWidth()
void
renderContent
(RenderContext context, double mouseX, double mouseY) Hud element is being called for rendering.void
tick()
Methods inherited from class org.rusherhack.client.api.feature.hud.HudElement
calculateAlignment, calculateAlignment, correctPosition, deserialize, getAlignment, getBindReference, getDescription, getFontRenderer, getLogger, getName, getScale, getSettings, getSnapPoint, getStartX, getStartY, getX, getY, isDragging, isHovered, isListening, isToggled, mouseClicked, mouseMoved, mouseReleased, onDisable, onEnable, onKeybindEvent, postRender, render, serialize, setDescription, setSnapPoint, setStartX, setStartY, setToggled, setX, setY, shouldUpdateAlignment, toggle
Methods inherited from class org.rusherhack.client.api.ui.ScaledElementBase
getScaledHeight, getScaledWidth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rusherhack.core.feature.IFeatureConfigurable
getSetting, registerSettings, reset
Methods inherited from interface org.rusherhack.client.api.feature.hud.IHudElement
renderContent, shouldDrawBackground
Methods inherited from interface org.rusherhack.core.interfaces.INamed
getAliases, getDisplayName
Methods inherited from interface org.rusherhack.client.api.render.IRenderable2D
getRenderer, render
Methods inherited from interface org.rusherhack.core.serialize.ISerializable
shouldAutoSave, shouldSerialize
-
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
-
-
Method Details
-
getComponents
public abstract net.minecraft.network.chat.Component[] getComponents() -
renderContent
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 classElementBase
-
getHeight
public double getHeight()- Specified by:
getHeight
in classElementBase
-