Index

A B C D E G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractConfigScreen<T> - Class in net.uku3lig.ukulib.config.screen
A screen used to edit a config.
AbstractConfigScreen(String, Screen, ConfigManager) - Constructor for class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
Creates a config screen.
addAll(WidgetCreator[]) - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList
Add an array of widget creators.
addEntries(WidgetCreator, WidgetCreator) - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList
Add two entries.
addManager(ConfigManager) - Static method in class net.uku3lig.ukulib.config.ConfigManagerReloader
Adds a config manager to be reloaded.
addWideEntry(WidgetCreator) - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList
Add a single, wide entry.
applyConfigChecked(Function, R) - Method in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
Tries to apply the current config to a function (eg.
applyValue() - Method in class net.uku3lig.ukulib.config.option.widget.DoubleSlider
 

B

BaseConfigScreen<T> - Class in net.uku3lig.ukulib.config.screen
Simple abstract class which provides utilities for config screens
BaseConfigScreen(String, Screen, ConfigManager) - Constructor for class net.uku3lig.ukulib.config.screen.BaseConfigScreen
Constructs the screen
BOOL_TO_TEXT - Static variable in class net.uku3lig.ukulib.config.option.CyclingOption
Boolean to text converter.
BOTTOM_LEFT - Enum constant in enum class net.uku3lig.ukulib.utils.Position
The bottom left of the screen.
BOTTOM_RIGHT - Enum constant in enum class net.uku3lig.ukulib.utils.Position
The bottom right of the screen.
BrokenConfigScreen - Class in net.uku3lig.ukulib.config.impl
Simple screen shown when a config screen is broken.
BrokenConfigScreen(Screen) - Constructor for class net.uku3lig.ukulib.config.impl.BrokenConfigScreen
Creates the screen.
build() - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Build the button
Builder(Component, Button.OnPress) - Constructor for class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Creates a builder for a silent button
ButtonEntry(WidgetCreator) - Constructor for class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList.ButtonEntry
Creates a single, wide entry.
ButtonEntry(WidgetCreator, WidgetCreator) - Constructor for class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList.ButtonEntry
Creates an entry.
buttonList - Variable in class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
The widget used to display the options.
ButtonTab<T> - Class in net.uku3lig.ukulib.config.option.widget
A tab made with WidgetCreator for ease of use.
ButtonTab(String, ConfigManager) - Constructor for class net.uku3lig.ukulib.config.option.widget.ButtonTab
Creates a widget tab and adds all the given widgets to it.
ButtonTab(Component, ConfigManager) - Constructor for class net.uku3lig.ukulib.config.option.widget.ButtonTab
Creates a widget tab and adds all the given widgets to it

C

CheckedOption - Interface in net.uku3lig.ukulib.config.option
An option that can be checked for validity.
children() - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList.ButtonEntry
 
CloseableScreen - Class in net.uku3lig.ukulib.config.screen
A screen that can be closed, returning to a parent screen.
CloseableScreen(String, Screen) - Constructor for class net.uku3lig.ukulib.config.screen.CloseableScreen
Constructs a closeable screen from a translation key
CloseableScreen(Component, Screen) - Constructor for class net.uku3lig.ukulib.config.screen.CloseableScreen
Constructs a closeable screen
ColorInputWidget - Class in net.uku3lig.ukulib.config.option.widget
A widget that allows the user to input a color.
ColorInputWidget(int, int, int, int, int, IntConsumer, String, boolean) - Constructor for class net.uku3lig.ukulib.config.option.widget.ColorInputWidget
Constructor.
ColorOption - Class in net.uku3lig.ukulib.config.option
An option to select a color.
ColorOption(String, int, IntConsumer) - Constructor for class net.uku3lig.ukulib.config.option.ColorOption
Constructor.
ColorOption(String, int, IntConsumer, boolean) - Constructor for class net.uku3lig.ukulib.config.option.ColorOption
Constructor.
ConfigManager<T> - Class in net.uku3lig.ukulib.config
Manages a config, by holding it, saving it and loading it.
ConfigManager(ConfigSerializer) - Constructor for class net.uku3lig.ukulib.config.ConfigManager
Creates a manager which provides an initial config by deserializing the file.
ConfigManager(ConfigSerializer, T) - Constructor for class net.uku3lig.ukulib.config.ConfigManager
Creates a manager.
ConfigManagerReloader - Class in net.uku3lig.ukulib.config
Reloads all config managers when the resource manager reloads (e.g.
ConfigManagerReloader() - Constructor for class net.uku3lig.ukulib.config.ConfigManagerReloader
Constructor.
ConfigSerializer<T> - Interface in net.uku3lig.ukulib.config.serialization
Manages the serialization of a configuration file.
createDefault(Class, String) - Static method in class net.uku3lig.ukulib.config.ConfigManager
Creates a default config manager, with a default config serializer.
createWidget(int, int) - Method in interface net.uku3lig.ukulib.config.option.WidgetCreator
Creates the widget, with no position information by default.
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.ColorOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.CyclingOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.InputOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.IntSliderOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.ScreenOpenButton
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.SimpleButton
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.SliderOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.TextOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.TypedInputOption
 
createWidget(int, int, int, int) - Method in class net.uku3lig.ukulib.config.option.WideWidgetCreator
 
createWidget(int, int, int, int) - Method in interface net.uku3lig.ukulib.config.option.WidgetCreator
Creates the widget.
CyclingOption<T> - Class in net.uku3lig.ukulib.config.option
An option type based on a finite amount of cycling values of the same type.
CyclingOption(String, Collection, T, Consumer, Function) - Constructor for class net.uku3lig.ukulib.config.option.CyclingOption
Constructs a new generic cycling option, with no tooltip.
CyclingOption(String, Collection, T, Consumer, Function, OptionInstance.TooltipSupplier) - Constructor for class net.uku3lig.ukulib.config.option.CyclingOption
Constructs a new generic cycling option.
CyclingOption(String, Collection, T, Consumer, Function, OptionInstance.TooltipSupplier, boolean) - Constructor for class net.uku3lig.ukulib.config.option.CyclingOption
Constructs a new generic cycling option.

D

DEFAULT_INT_TO_TEXT - Static variable in class net.uku3lig.ukulib.config.option.IntSliderOption
Converts an int to Text using its String representation.
DEFAULT_VALUE_TO_TEXT - Static variable in class net.uku3lig.ukulib.config.option.SliderOption
Displays a double with 2 decimals of precision.
description() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns the value of the description record component.
deserialize() - Method in interface net.uku3lig.ukulib.config.serialization.ConfigSerializer
Deserializes the config.
deserialize() - Method in class net.uku3lig.ukulib.config.serialization.JsonConfigSerializer
 
deserialize() - Method in class net.uku3lig.ukulib.config.serialization.TomlConfigSerializer
Reads the config from the file.
dimensions(int, int, int, int) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the dimensions
doneButton - Variable in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
Done button, closes the screen
doneButton(int, int, Screen) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Creates a done button.
DoubleSlider - Class in net.uku3lig.ukulib.config.option.widget
Implementation of a slider widget for use in SliderOption.
DoubleSlider(Component, DoubleFunction, double, double, double, double, DoubleConsumer, OptionInstance.TooltipSupplier, int, int, int, int) - Constructor for class net.uku3lig.ukulib.config.option.widget.DoubleSlider
Constructs a new slider.
draw(GuiGraphics, int, int, float, int, int) - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
Draws the screen and all the components in it.
drawDefault(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
Draws the screen and all the components in it, in their default position.

E

enableModMenuIntegration() - Method in interface net.uku3lig.ukulib.api.UkulibAPI
This method is used to enable or disable the integration with Mod Menu.
enumNameToText(T) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Returns a text that contains the name of the enum constant.
equals(Object) - Method in record class net.uku3lig.ukulib.utils.ModMeta
Indicates whether some other object is "equal to" this one.

G

getConfig() - Method in class net.uku3lig.ukulib.config.ConfigManager
The config held by the manager.
getConfigMods() - Method in interface net.uku3lig.ukulib.utils.PlatformUkutils
Fetches and collects the mods using the ukulib config system.
getConfigPath(String) - Method in interface net.uku3lig.ukulib.utils.PlatformUkutils
Creates a config path for a file name.
getInvalidOptions() - Method in class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
 
getInvalidOptions() - Method in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
Finds invalid options in the config screen.
getInvalidOptions() - Method in class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
 
getKeybindings() - Static method in class net.uku3lig.ukulib.utils.Ukutils
The map of keybindings and their respective actions.
getName() - Method in class net.uku3lig.ukulib.config.ConfigManagerReloader
 
getName() - Method in interface net.uku3lig.ukulib.config.option.StringTranslatable
Name of the option, also used as its unique identifier for StringRepresentable.
getName() - Method in enum class net.uku3lig.ukulib.utils.Position
 
getOption(Collection, Position, Consumer) - Static method in enum class net.uku3lig.ukulib.utils.Position
Creates a CyclingOption that allows to choose between all the allowedValues.
getOption(Position, Consumer) - Static method in enum class net.uku3lig.ukulib.utils.Position
Creates a CyclingOption that allows to choose between all of this enum's values.
getProvidedConfigScreens() - Method in interface net.uku3lig.ukulib.api.UkulibAPI
The map of the config screens, linked to their mod id.
getRowWidth() - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList
 
getSerializedName() - Method in interface net.uku3lig.ukulib.config.option.StringTranslatable
 
getStyledText(FormattedCharSequence) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Retrieves the styled text from a formatted char sequence.
getTabs(T) - Method in class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
The list of tabs to be displayed.
getText() - Method in interface net.uku3lig.ukulib.config.option.StringTranslatable
Constructs a default Component object containing the translated value.
getText(FormattedCharSequence) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Retrieves the string text from a formatted char sequence.
getTextCoords(Component, int, Font, int, int) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Makes text coordinates based on the position of a standard 16x16 icon.
getTextCoords(Component, int, Font, int, int, int, int) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Makes text coordinates based on the position of an icon.
getTranslationKey() - Method in interface net.uku3lig.ukulib.config.option.StringTranslatable
The translation key of the option
getTranslationKey() - Method in enum class net.uku3lig.ukulib.utils.Position
 
getWidgets(UkulibConfig) - Method in class net.uku3lig.ukulib.config.impl.UkulibConfigScreen
 
getWidgets(T) - Method in class net.uku3lig.ukulib.config.option.widget.ButtonTab
The widgets to be shown in this tab
getWidgets(T) - Method in class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
The list of widgets that will be shown to the user when this screen is displayed.

H

hashCode() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns a hash code value for this object.

I

icon() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns the value of the icon record component.
id() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns the value of the id record component.
init() - Method in class net.uku3lig.ukulib.config.impl.BrokenConfigScreen
 
init() - Method in class net.uku3lig.ukulib.config.impl.ModListScreen
 
init() - Method in class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
 
init() - Method in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
 
init() - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 
init() - Method in class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
 
InputOption - Class in net.uku3lig.ukulib.config.option
An option to input text.
InputOption(String, String, Consumer) - Constructor for class net.uku3lig.ukulib.config.option.InputOption
Constructor.
InputOption(String, String, Consumer, Predicate) - Constructor for class net.uku3lig.ukulib.config.option.InputOption
Constructor.
InputOption(String, String, Consumer, Predicate, int) - Constructor for class net.uku3lig.ukulib.config.option.InputOption
Constructor.
INSTANCE - Static variable in interface net.uku3lig.ukulib.utils.PlatformUkutils
Singleton instance of the class.
INTEGER_VALUE_TO_TEXT - Static variable in class net.uku3lig.ukulib.config.option.SliderOption
Displays a double as a rounded integer.
IntSliderOption - Class in net.uku3lig.ukulib.config.option
An int option, represented by a slider.
IntSliderOption(String, int, IntConsumer, IntFunction, int, int) - Constructor for class net.uku3lig.ukulib.config.option.IntSliderOption
Creates a slider option, with no step or tooltip.
IntSliderOption(String, int, IntConsumer, IntFunction, int, int, int) - Constructor for class net.uku3lig.ukulib.config.option.IntSliderOption
Creates a slider option, with no tooltip.
IntSliderOption(String, int, IntConsumer, IntFunction, int, int, int, OptionInstance.TooltipSupplier) - Constructor for class net.uku3lig.ukulib.config.option.IntSliderOption
Creates a slider option.
isBottom() - Method in enum class net.uku3lig.ukulib.utils.Position
Checks if the position is at the bottom of the screen.
isRight() - Method in enum class net.uku3lig.ukulib.utils.Position
Checks if the position is on the right of the screen.
isValid() - Method in interface net.uku3lig.ukulib.config.option.CheckedOption
Checks if the option is valid.

J

JsonConfigSerializer<T> - Class in net.uku3lig.ukulib.config.serialization
A config serializer that uses JSON via Gson.
JsonConfigSerializer(Class, String) - Constructor for class net.uku3lig.ukulib.config.serialization.JsonConfigSerializer
Creates a serializer.

K

KEY - Static variable in enum class net.uku3lig.ukulib.utils.Position
Translation key for the position
keyPressed(KeyEvent) - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 

L

LinedTextWidget - Class in net.uku3lig.ukulib.config.option.widget
A text widget that can have a line before the text.
LinedTextWidget(int, int, int, int, Component, Font, boolean, int) - Constructor for class net.uku3lig.ukulib.config.option.widget.LinedTextWidget
Constructor.
log - Variable in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
SLF4J Logger

M

makeDefault() - Method in interface net.uku3lig.ukulib.config.serialization.ConfigSerializer
Creates a new default configuration.
makeDefault() - Method in class net.uku3lig.ukulib.config.serialization.JsonConfigSerializer
 
makeDefault() - Method in class net.uku3lig.ukulib.config.serialization.TomlConfigSerializer
 
manager - Variable in class net.uku3lig.ukulib.config.option.widget.ButtonTab
The config manager
manager - Variable in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
The config manager
MIDDLE - Enum constant in enum class net.uku3lig.ukulib.utils.Position
Above the experience bar, usually between the health and hunger bars.
ModListScreen - Class in net.uku3lig.ukulib.config.impl
Ukulib's config screen.
ModListScreen(Screen) - Constructor for class net.uku3lig.ukulib.config.impl.ModListScreen
Creates a config screen.
ModMeta - Record Class in net.uku3lig.ukulib.utils
Platform-independent data class to store basic information about a mod.
ModMeta(String, String, String, Optional) - Constructor for record class net.uku3lig.ukulib.utils.ModMeta
Creates an instance of a ModMeta record class.
mouseClicked(MouseButtonEvent, boolean) - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 

N

name() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns the value of the name record component.
narratables() - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList.ButtonEntry
 
narrationSupplier(Button.CreateNarration) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the narration supplier
net.uku3lig.ukulib.api - package net.uku3lig.ukulib.api
 
net.uku3lig.ukulib.config - package net.uku3lig.ukulib.config
 
net.uku3lig.ukulib.config.impl - package net.uku3lig.ukulib.config.impl
 
net.uku3lig.ukulib.config.option - package net.uku3lig.ukulib.config.option
 
net.uku3lig.ukulib.config.option.widget - package net.uku3lig.ukulib.config.option.widget
 
net.uku3lig.ukulib.config.screen - package net.uku3lig.ukulib.config.screen
 
net.uku3lig.ukulib.config.serialization - package net.uku3lig.ukulib.config.serialization
 
net.uku3lig.ukulib.utils - package net.uku3lig.ukulib.utils
 
newInstance(Class) - Static method in class net.uku3lig.ukulib.utils.ReflectionUtils
Creates an instance of a given config class.

O

ofBoolean(String, boolean, Consumer) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new boolean option, with an empty tooltip.
ofBoolean(String, boolean, Consumer, OptionInstance.TooltipSupplier) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new boolean option.
ofEnum(String, Class, T, Consumer) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option based on an enum's values, with an empty tooltip.
ofEnum(String, Class, T, Consumer, Function) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option based on an enum's values, with an empty tooltip.
ofEnum(String, Class, T, Consumer, Function, OptionInstance.TooltipSupplier) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option based on an enum's values.
ofTranslatable(String, Collection, T, Consumer) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option from a StringTranslatable, with an empty tooltip.
ofTranslatable(String, Collection, T, Consumer, OptionInstance.TooltipSupplier) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option from a StringTranslatable.
ofTranslatableEnum(String, Class, T, Consumer) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option based on a translatable enum's values, with an empty tooltip.
ofTranslatableEnum(String, Class, T, Consumer, OptionInstance.TooltipSupplier) - Static method in class net.uku3lig.ukulib.config.option.CyclingOption
Creates a new option based on a translatable enum's values.
onClose() - Method in class net.uku3lig.ukulib.config.screen.CloseableScreen
 
onResourceManagerReload(ResourceManager) - Method in class net.uku3lig.ukulib.config.ConfigManagerReloader
 

P

parent - Variable in class net.uku3lig.ukulib.config.screen.CloseableScreen
The parent screen.
PERCENT_VALUE_TO_TEXT - Static variable in class net.uku3lig.ukulib.config.option.SliderOption
Displays a double as a percentage, with no further precision.
PlatformUkutils - Interface in net.uku3lig.ukulib.utils
Modding platform-specific utilities.
playDownSound(SoundManager) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget
 
position(int, int) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the position
Position - Enum Class in net.uku3lig.ukulib.utils
An enum used to represent various positions.
PositionSelectScreen - Class in net.uku3lig.ukulib.config.screen
Simple screen used to select a custom position on the screen for an element.
PositionSelectScreen(String, Screen, int, int, ConfigManager, BiConsumer) - Constructor for class net.uku3lig.ukulib.config.screen.PositionSelectScreen
Creates a position select screen.

R

ReflectionUtils - Class in net.uku3lig.ukulib.utils
Utility class for reflection
registerKeybinding(KeyMapping, Consumer) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Registers a keybinding with an associated action, executed when the key is pressed.
registerKeyBindingInternal(KeyMapping) - Method in interface net.uku3lig.ukulib.utils.PlatformUkutils
Registers a keybinding in Minecraft via the modding platform.
registerToggleBind(KeyMapping, BooleanSupplier, BooleanConsumer, Component) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Register a keybinding for a boolean option that can be toggled.
removed() - Method in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
 
removed() - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 
render(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 
render(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
 
renderContent(GuiGraphics, int, int, boolean, float) - Method in class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList.ButtonEntry
 
renderContents(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget
 
renderWidget(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.config.option.widget.ColorInputWidget
 
renderWidget(GuiGraphics, int, int, float) - Method in class net.uku3lig.ukulib.config.option.widget.LinedTextWidget
 
replaceConfig(T) - Method in class net.uku3lig.ukulib.config.ConfigManager
Replaces the current config with a new one, serializing it in the process.
repositionElements() - Method in class net.uku3lig.ukulib.config.impl.BrokenConfigScreen
 
repositionElements() - Method in class net.uku3lig.ukulib.config.impl.ModListScreen
 
repositionElements() - Method in class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
 
repositionElements() - Method in class net.uku3lig.ukulib.config.screen.PositionSelectScreen
 
repositionElements() - Method in class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
 
resetButton - Variable in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
Reset button, resets the config to its default state
resetConfig() - Method in class net.uku3lig.ukulib.config.ConfigManager
Resets the config to its default, from a default provided by the ConfigSerializer.

S

saveConfig() - Method in class net.uku3lig.ukulib.config.ConfigManager
Saves the stored config.
ScreenOpenButton - Class in net.uku3lig.ukulib.config.option
A button that opens a screen when clicked.
ScreenOpenButton(String, UnaryOperator) - Constructor for class net.uku3lig.ukulib.config.option.ScreenOpenButton
Creates a new button.
sendToast(Component, Component) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Displays a simple toast message.
serialize(T) - Method in interface net.uku3lig.ukulib.config.serialization.ConfigSerializer
Serializes the config.
serialize(T) - Method in class net.uku3lig.ukulib.config.serialization.JsonConfigSerializer
 
serialize(T) - Method in class net.uku3lig.ukulib.config.serialization.TomlConfigSerializer
 
silentBuilder(Component, Button.OnPress) - Static method in class net.uku3lig.ukulib.utils.SilentButtonWidget
Creates a builder for a silent button
SilentButtonWidget - Class in net.uku3lig.ukulib.utils
A button that doesn't make noise.
SilentButtonWidget(int, int, int, int, Component, Button.OnPress, Button.CreateNarration) - Constructor for class net.uku3lig.ukulib.utils.SilentButtonWidget
Creates a new silent button
SilentButtonWidget.Builder - Class in net.uku3lig.ukulib.utils
A silent button builder
SimpleButton - Class in net.uku3lig.ukulib.config.option
A simple button that does something when pressed.
SimpleButton(String, Button.OnPress) - Constructor for class net.uku3lig.ukulib.config.option.SimpleButton
Creates a simple translated button.
SimpleButton(Component, Button.OnPress) - Constructor for class net.uku3lig.ukulib.config.option.SimpleButton
Creates a simple button.
SimpleButton(Component, Button.OnPress, boolean) - Constructor for class net.uku3lig.ukulib.config.option.SimpleButton
Creates a simple button.
size(int, int) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the size
SliderOption - Class in net.uku3lig.ukulib.config.option
A double option, displayed by a slider.
SliderOption(String, double, DoubleConsumer, DoubleFunction) - Constructor for class net.uku3lig.ukulib.config.option.SliderOption
Creates a slider option, between 0 (inclusive) and 1 (inclusive), with no step or tooltip.
SliderOption(String, double, DoubleConsumer, DoubleFunction, double, double) - Constructor for class net.uku3lig.ukulib.config.option.SliderOption
Creates a slider option, with no step or tooltip.
SliderOption(String, double, DoubleConsumer, DoubleFunction, double, double, double) - Constructor for class net.uku3lig.ukulib.config.option.SliderOption
Creates a slider option, with no tooltip.
SliderOption(String, double, DoubleConsumer, DoubleFunction, double, double, double, OptionInstance.TooltipSupplier) - Constructor for class net.uku3lig.ukulib.config.option.SliderOption
Creates a slider option.
StringTranslatable - Interface in net.uku3lig.ukulib.config.option
Replacement for Minecraft's former TranslatableOption, using StringRepresentable as a "backend".
supplyConfigScreen() - Method in interface net.uku3lig.ukulib.api.UkulibAPI
This method is used to show your mod's config screen in the Ukulib config screen.

T

TabbedConfigScreen<T> - Class in net.uku3lig.ukulib.config.screen
A config screen that utilizes a tabbed layout instead of a simple list of buttons.
TabbedConfigScreen(String, Screen, ConfigManager) - Constructor for class net.uku3lig.ukulib.config.screen.TabbedConfigScreen
Creates a tabbed config screen.
TextOption - Class in net.uku3lig.ukulib.config.option
An option to display text.
TextOption(String) - Constructor for class net.uku3lig.ukulib.config.option.TextOption
Constructor.
TextOption(String, boolean) - Constructor for class net.uku3lig.ukulib.config.option.TextOption
Constructor.
TextOption(String, boolean, int) - Constructor for class net.uku3lig.ukulib.config.option.TextOption
Constructor.
textureExists(Identifier) - Static method in class net.uku3lig.ukulib.utils.Ukutils
Checks if a texture exists and is registered.
tick() - Method in class net.uku3lig.ukulib.config.screen.BaseConfigScreen
 
TomlConfigSerializer<T> - Class in net.uku3lig.ukulib.config.serialization
A default config serializer, which saves the config in a TOML file.
TomlConfigSerializer(Class, String) - Constructor for class net.uku3lig.ukulib.config.serialization.TomlConfigSerializer
Creates a serializer.
tooltip(Tooltip) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the tooltip
TOP_LEFT - Enum constant in enum class net.uku3lig.ukulib.utils.Position
The top left of the screen.
TOP_RIGHT - Enum constant in enum class net.uku3lig.ukulib.utils.Position
The top right of the screen.
toString() - Method in record class net.uku3lig.ukulib.utils.ModMeta
Returns a string representation of this record class.
TypedInputOption<T> - Class in net.uku3lig.ukulib.config.option
A WidgetCreator which creates a TextInputWidget with a converter and validator.
TypedInputOption(String, String, Consumer, Function) - Constructor for class net.uku3lig.ukulib.config.option.TypedInputOption
Constructor.
TypedInputOption(String, String, Consumer, Function, Predicate) - Constructor for class net.uku3lig.ukulib.config.option.TypedInputOption
Constructor.
TypedInputOption(String, String, Consumer, Function, Predicate, int) - Constructor for class net.uku3lig.ukulib.config.option.TypedInputOption
Constructor.

U

UkulibAPI - Interface in net.uku3lig.ukulib.api
This interface is used to integrate your mod with Ukulib.
UkulibConfigScreen - Class in net.uku3lig.ukulib.config.impl
ukulib's config screen.
UkulibConfigScreen(Screen) - Constructor for class net.uku3lig.ukulib.config.impl.UkulibConfigScreen
Creates a config screen.
Ukutils - Class in net.uku3lig.ukulib.utils
Simple class for various utilities.
updateMessage() - Method in class net.uku3lig.ukulib.config.option.widget.DoubleSlider
 

V

valueOf(String) - Static method in enum class net.uku3lig.ukulib.utils.Position
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.uku3lig.ukulib.utils.Position
Returns an array containing the constants of this enum class, in the order they are declared.

W

wide() - Method in interface net.uku3lig.ukulib.config.option.WidgetCreator
Makes a widget wide.
WideWidgetCreator - Class in net.uku3lig.ukulib.config.option
Used to indicate that the created widget should be *wide*.
WideWidgetCreator(WidgetCreator) - Constructor for class net.uku3lig.ukulib.config.option.WideWidgetCreator
Creates a wide widget.
WidgetCreator - Interface in net.uku3lig.ukulib.config.option
An interface used to create clickable widgets
WidgetCreatorList - Class in net.uku3lig.ukulib.config.option.widget
A list of WidgetCreator, used to construct a vertical list of widgets
WidgetCreatorList(Minecraft, int, HeaderAndFooterLayout) - Constructor for class net.uku3lig.ukulib.config.option.widget.WidgetCreatorList
Creates an empty widget list
WidgetCreatorList.ButtonEntry - Class in net.uku3lig.ukulib.config.option.widget
A widget entry, made of one or two creators.
width(int) - Method in class net.uku3lig.ukulib.utils.SilentButtonWidget.Builder
Sets the width
A B C D E G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values