public static class ConfigScreenList.LabeledEntry extends ConfigScreenList.Entry
| Modifier and Type | Field and Description |
|---|---|
protected LerpedFloat |
differenceAnimation |
protected LerpedFloat |
highlightAnimation |
protected TextStencilElement |
label |
protected java.util.List<net.minecraft.util.text.ITextComponent> |
labelTooltip |
protected static float |
labelWidthMult |
protected java.lang.String |
unit |
annotations, listeners, path| Constructor and Description |
|---|
LabeledEntry(java.lang.String label) |
LabeledEntry(java.lang.String label,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.util.text.ITextComponent> |
getLabelTooltip() |
protected int |
getLabelWidth(int totalWidth) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack ms,
int index,
int y,
int x,
int width,
int height,
int mouseX,
int mouseY,
boolean p_230432_9_,
float partialTicks) |
void |
tick() |
charTyped, getGuiListeners, isCurrentValueChanged, keyPressed, mouseClicked, setEditablechangeFocusisMouseOverprotected static final float labelWidthMult
protected TextStencilElement label
protected java.util.List<net.minecraft.util.text.ITextComponent> labelTooltip
protected java.lang.String unit
protected LerpedFloat differenceAnimation
protected LerpedFloat highlightAnimation
public LabeledEntry(java.lang.String label)
public LabeledEntry(java.lang.String label,
java.lang.String path)
public void tick()
tick in class ConfigScreenList.Entrypublic void render(com.mojang.blaze3d.matrix.MatrixStack ms,
int index,
int y,
int x,
int width,
int height,
int mouseX,
int mouseY,
boolean p_230432_9_,
float partialTicks)
render in class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<ConfigScreenList.Entry>public java.util.List<net.minecraft.util.text.ITextComponent> getLabelTooltip()
protected int getLabelWidth(int totalWidth)