Class BlockListSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<net.minecraft.block.Block>>
meteordevelopment.meteorclient.settings.BlockListSetting
- All Implemented Interfaces:
IGetter<List<net.minecraft.block.Block>>,ISerializable<List<net.minecraft.block.Block>>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class meteordevelopment.meteorclient.settings.Setting
Setting.SettingBuilder<B,V, S> -
Field Summary
FieldsFields inherited from class meteordevelopment.meteorclient.settings.Setting
defaultValue, description, lastWasVisible, module, name, onModuleActivated, title, value -
Constructor Summary
ConstructorsConstructorDescriptionBlockListSetting(String name, String description, List<net.minecraft.block.Block> defaultValue, Consumer<List<net.minecraft.block.Block>> onChanged, Consumer<Setting<List<net.minecraft.block.Block>>> onModuleActivated, Predicate<net.minecraft.block.Block> filter, IVisible visible) -
Method Summary
Modifier and TypeMethodDescriptionIterable<net.minecraft.util.Identifier>protected booleanisValueValid(List<net.minecraft.block.Block> value) protected List<net.minecraft.block.Block>load(net.minecraft.nbt.NbtCompound tag) protected List<net.minecraft.block.Block>voidprotected net.minecraft.nbt.NbtCompoundsave(net.minecraft.nbt.NbtCompound tag) Methods inherited from class meteordevelopment.meteorclient.settings.Setting
equals, fromTag, get, getDefaultValue, getSuggestions, hashCode, isVisible, onActivated, onChanged, parse, parseId, reset, set, toString, toTag, wasChanged
-
Field Details
-
filter
-
-
Constructor Details
-
BlockListSetting
-
-
Method Details
-
resetImpl
public void resetImpl() -
parseImpl
-
isValueValid
- Specified by:
isValueValidin classSetting<List<net.minecraft.block.Block>>
-
getIdentifierSuggestions
- Overrides:
getIdentifierSuggestionsin classSetting<List<net.minecraft.block.Block>>
-
save
protected net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag) -
load
-