public class SubMenuEntry extends ConfigScreenList.LabeledEntry
| Modifier and Type | Field and Description |
|---|---|
protected BoxWidget |
button |
differenceAnimation, highlightAnimation, label, labelTooltip, labelWidthMult, unitannotations, listeners, path| Constructor and Description |
|---|
SubMenuEntry(SubMenuConfigScreen parent,
java.lang.String label,
net.minecraftforge.common.ForgeConfigSpec spec,
com.electronwill.nightconfig.core.UnmodifiableConfig config) |
| Modifier and Type | Method and Description |
|---|---|
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() |
getLabelTooltipcharTyped, getGuiListeners, isCurrentValueChanged, keyPressed, mouseClicked, setEditablechangeFocusisMouseOverprotected BoxWidget button
public SubMenuEntry(SubMenuConfigScreen parent, java.lang.String label, net.minecraftforge.common.ForgeConfigSpec spec, com.electronwill.nightconfig.core.UnmodifiableConfig config)
public void tick()
tick in class ConfigScreenList.LabeledEntrypublic 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 ConfigScreenList.LabeledEntryprotected int getLabelWidth(int totalWidth)
getLabelWidth in class ConfigScreenList.LabeledEntry