Class ListHudElement.ListItem
java.lang.Object
org.rusherhack.client.api.feature.hud.ListHudElement.ListItem
- Enclosing class:
- ListHudElement
An item that gets rendered in this list
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.rusherhack.core.animation.AnimationintgetColor(int index) doubleabstract net.minecraft.network.chat.ComponentgetText()doublegetWidth()voidrender(RenderContext renderContext, int indexInList) abstract booleanvoidtick()Updates the animation state of this itemtoString()
-
Constructor Details
-
ListItem
-
-
Method Details
-
getText
public abstract net.minecraft.network.chat.Component getText()- Returns:
- The text that will represent this item
-
shouldRemove
public abstract boolean shouldRemove()- Returns:
- the condition that must be met to remove this item
-
getHeight
public double getHeight() -
getWidth
public double getWidth() -
render
-
tick
public void tick()Updates the animation state of this item -
toString
-
equals
-
getColor
public int getColor(int index) -
getAnimation
public org.rusherhack.core.animation.Animation getAnimation() -
getRenderer
-
getFontRenderer
-
getParent
-