Class GenericSetting<T extends IGeneric<T>>
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<T>
meteordevelopment.meteorclient.settings.GenericSetting<T>
- All Implemented Interfaces:
IGetter<T>,ISerializable<T>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class meteordevelopment.meteorclient.settings.Setting
Setting.SettingBuilder<B,V, S> -
Field Summary
Fields inherited from class meteordevelopment.meteorclient.settings.Setting
defaultValue, description, lastWasVisible, module, name, onModuleActivated, title, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScreen(GuiTheme theme) protected booleanisValueValid(T value) load(net.minecraft.nbt.NbtCompound tag) protected Tvoidnet.minecraft.nbt.NbtCompoundsave(net.minecraft.nbt.NbtCompound tag) Methods inherited from class meteordevelopment.meteorclient.settings.Setting
equals, fromTag, get, getDefaultValue, getIdentifierSuggestions, getSuggestions, hashCode, isVisible, onActivated, onChanged, parse, parseId, reset, set, toString, toTag, wasChanged
-
Constructor Details
-
GenericSetting
-
-
Method Details
-
createScreen
-
resetImpl
public void resetImpl() -
parseImpl
-
isValueValid
- Specified by:
isValueValidin classSetting<T extends IGeneric<T>>
-
save
public net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag) -
load
-