Class ConfigScreenList.LabeledEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ConfigScreenList.Entry>
com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
com.simibubi.create.foundation.config.ui.ConfigScreenList.LabeledEntry
- All Implemented Interfaces:
TickableGuiEventListener,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.narration.NarrationSupplier
- Direct Known Subclasses:
ConfigModListScreen.ModEntry,SubMenuEntry,ValueEntry
- Enclosing class:
- ConfigScreenList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LerpedFloatprotected LerpedFloatprotected TextStencilElementprotected List<net.minecraft.network.chat.Component>protected static final floatprotected StringFields inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
annotations, listeners, pathFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.network.chat.Component>protected intgetLabelWidth(int totalWidth) net.minecraft.network.chat.Componentvoidrender(com.mojang.blaze3d.vertex.PoseStack ms, int index, int y, int x, int width, int height, int mouseX, int mouseY, boolean p_230432_9_, float partialTicks) voidtick()Methods inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
charTyped, getGuiListeners, isCurrentValueChanged, keyPressed, mouseClicked, setEditableMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
changeFocus, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isMouseOverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
changeFocus, isMouseOver, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
labelWidthMult
protected static final float labelWidthMult- See Also:
-
label
-
labelTooltip
-
unit
-
differenceAnimation
-
highlightAnimation
-
-
Constructor Details
-
LabeledEntry
-
LabeledEntry
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfaceTickableGuiEventListener- Overrides:
tickin classConfigScreenList.Entry
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, int index, int y, int x, int width, int height, int mouseX, int mouseY, boolean p_230432_9_, float partialTicks) - Specified by:
renderin classnet.minecraft.client.gui.components.AbstractSelectionList.Entry<ConfigScreenList.Entry>
-
getLabelTooltip
-
getLabelWidth
protected int getLabelWidth(int totalWidth) -
getNarration
public net.minecraft.network.chat.Component getNarration()- Specified by:
getNarrationin classnet.minecraft.client.gui.components.ObjectSelectionList.Entry<ConfigScreenList.Entry>
-