Interface ValueEditor
- All Known Implementing Classes:
BooleanEditor, ColorEditor, EnumEditor, ListEditor, SliderEditor, TextEditor
public interface ValueEditor
The widget editing one value in the config screen. The screen positions and draws it, and greys it out when the
value can't be edited.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilds an editor for a slot, at the given size. -
Method Summary
-
Method Details
-
widget
net.minecraft.client.gui.components.AbstractWidget widget() -
refresh
void refresh()Shows the slot's value again after it changed elsewhere (undo, reset, a preset, the server). -
setActive
default void setActive(boolean active) Whether the player can change the value right now.
-