Class StorageBlockListSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>
meteordevelopment.meteorclient.settings.StorageBlockListSetting
- All Implemented Interfaces:
IGetter<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>, ISerializable<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Setting
Setting.SettingBuilder<B,V, S> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.core.Registry<net.minecraft.world.level.block.entity.BlockEntityType<?>> static final net.minecraft.world.level.block.entity.BlockEntityType<?>[]Fields inherited from class Setting
defaultValue, description, lastWasVisible, module, name, onModuleActivated, title, value -
Constructor Summary
ConstructorsConstructorDescriptionStorageBlockListSetting(String name, String description, List<net.minecraft.world.level.block.entity.BlockEntityType<?>> defaultValue, Consumer<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>> onChanged, Consumer<Setting<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>> onModuleActivated, IVisible visible) -
Method Summary
Modifier and TypeMethodDescriptionIterable<net.minecraft.resources.Identifier> protected booleanisValueValid(List<net.minecraft.world.level.block.entity.BlockEntityType<?>> value) List<net.minecraft.world.level.block.entity.BlockEntityType<?>> load(net.minecraft.nbt.CompoundTag tag) protected List<net.minecraft.world.level.block.entity.BlockEntityType<?>> voidnet.minecraft.nbt.CompoundTagsave(net.minecraft.nbt.CompoundTag tag) Methods inherited from class Setting
equals, fromTag, get, getDefaultValue, getSuggestions, hashCode, isVisible, onActivated, onChanged, parse, parseId, reset, set, toString, toTag, wasChanged
-
Field Details
-
STORAGE_BLOCKS
public static final net.minecraft.world.level.block.entity.BlockEntityType<?>[] STORAGE_BLOCKS -
REGISTRY
public static final net.minecraft.core.Registry<net.minecraft.world.level.block.entity.BlockEntityType<?>> REGISTRY
-
-
Constructor Details
-
StorageBlockListSetting
public StorageBlockListSetting(String name, String description, List<net.minecraft.world.level.block.entity.BlockEntityType<?>> defaultValue, Consumer<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>> onChanged, Consumer<Setting<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>> onModuleActivated, IVisible visible)
-
-
Method Details
-
resetImpl
-
parseImpl
-
isValueValid
protected boolean isValueValid(List<net.minecraft.world.level.block.entity.BlockEntityType<?>> value) - Specified by:
isValueValidin classSetting<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>
-
getIdentifierSuggestions
- Overrides:
getIdentifierSuggestionsin classSetting<List<net.minecraft.world.level.block.entity.BlockEntityType<?>>>
-
save
-
load
-