Class ColorListSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<SettingColor>>
meteordevelopment.meteorclient.settings.ColorListSetting
- All Implemented Interfaces:
IGetter<List<SettingColor>>,ISerializable<List<SettingColor>>
-
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
ConstructorsConstructorDescriptionColorListSetting(String name, String description, List<SettingColor> defaultValue, Consumer<List<SettingColor>> onChanged, Consumer<Setting<List<SettingColor>>> onModuleActivated, IVisible visible) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisValueValid(List<SettingColor> value) protected List<SettingColor> load(net.minecraft.nbt.NbtCompound tag) protected List<SettingColor> protected voidprotected net.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
-
ColorListSetting
public ColorListSetting(String name, String description, List<SettingColor> defaultValue, Consumer<List<SettingColor>> onChanged, Consumer<Setting<List<SettingColor>>> onModuleActivated, IVisible visible)
-
-
Method Details
-
parseImpl
- Specified by:
parseImplin classSetting<List<SettingColor>>
-
isValueValid
- Specified by:
isValueValidin classSetting<List<SettingColor>>
-
resetImpl
protected void resetImpl()- Overrides:
resetImplin classSetting<List<SettingColor>>
-
save
protected net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag) - Specified by:
savein classSetting<List<SettingColor>>
-
load
- Specified by:
loadin classSetting<List<SettingColor>>
-