Package | Description |
---|---|
io.github.bananapuncher714.cartographer.core.api.command.validator | |
io.github.bananapuncher714.cartographer.core.api.events.player | |
io.github.bananapuncher714.cartographer.core.api.setting | |
io.github.bananapuncher714.cartographer.core.map | |
io.github.bananapuncher714.cartographer.core.module |
Contains module loading for a custom addon system.
|
Constructor and Description |
---|
InputValidatorSettingState(SettingState<?> state) |
Modifier and Type | Method and Description |
---|---|
SettingState<T> |
MapViewerChangeSettingEvent.getSetting() |
Constructor and Description |
---|
MapViewerChangeSettingEvent(MapViewer viewer,
SettingState<T> setting,
T newVal) |
Modifier and Type | Class and Description |
---|---|
class |
SettingStateBoolean |
class |
SettingStateBooleanOption |
class |
SettingStateLocale |
Modifier and Type | Method and Description |
---|---|
static SettingState<?> |
MapViewer.getState(java.lang.String id)
Get the state with the specified id.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<SettingState<?>> |
MapViewer.getStates()
Get all the states available.
|
Modifier and Type | Method and Description |
---|---|
static void |
MapViewer.addSetting(SettingState<?> state)
Register a custom setting.
|
<T extends java.lang.Comparable<T>> |
MapViewer.getSetting(SettingState<T> state) |
static void |
MapViewer.removeSetting(SettingState<?> state)
Unregister a custom setting.
|
<T extends java.lang.Comparable<T>> |
MapViewer.setSetting(SettingState<T> state,
T val) |
Modifier and Type | Method and Description |
---|---|
SettingState<?>[] |
Module.getSettingStates() |