Class BlockSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<net.minecraft.block.Block>
meteordevelopment.meteorclient.settings.BlockSetting
- All Implemented Interfaces:
IGetter<net.minecraft.block.Block>,ISerializable<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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIterable<net.minecraft.util.Identifier> protected booleanisValueValid(net.minecraft.block.Block value) protected net.minecraft.block.Blockload(net.minecraft.nbt.NbtCompound tag) protected net.minecraft.block.Blockprotected 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, resetImpl, set, toString, toTag, wasChanged
-
Field Details
-
filter
-
-
Constructor Details
-
BlockSetting
-
-
Method Details
-
parseImpl
-
isValueValid
protected boolean isValueValid(net.minecraft.block.Block value) - Specified by:
isValueValidin classSetting<net.minecraft.block.Block>
-
getIdentifierSuggestions
- Overrides:
getIdentifierSuggestionsin classSetting<net.minecraft.block.Block>
-
save
protected net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag) -
load
protected net.minecraft.block.Block load(net.minecraft.nbt.NbtCompound tag)
-