Class StorageBlockListSetting

java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
meteordevelopment.meteorclient.settings.StorageBlockListSetting
All Implemented Interfaces:
IGetter<List<net.minecraft.block.entity.BlockEntityType<?>>>, ISerializable<List<net.minecraft.block.entity.BlockEntityType<?>>>

public class StorageBlockListSetting extends Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
  • Field Details

    • STORAGE_BLOCKS

      public static final net.minecraft.block.entity.BlockEntityType<?>[] STORAGE_BLOCKS
    • REGISTRY

      public static final net.minecraft.registry.Registry<net.minecraft.block.entity.BlockEntityType<?>> REGISTRY
  • Constructor Details

    • StorageBlockListSetting

      public StorageBlockListSetting(String name, String description, List<net.minecraft.block.entity.BlockEntityType<?>> defaultValue, Consumer<List<net.minecraft.block.entity.BlockEntityType<?>>> onChanged, Consumer<Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>> onModuleActivated, IVisible visible)
  • Method Details

    • resetImpl

      public void resetImpl()
      Overrides:
      resetImpl in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
    • parseImpl

      protected List<net.minecraft.block.entity.BlockEntityType<?>> parseImpl(String str)
      Specified by:
      parseImpl in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
    • isValueValid

      protected boolean isValueValid(List<net.minecraft.block.entity.BlockEntityType<?>> value)
      Specified by:
      isValueValid in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
    • getIdentifierSuggestions

      public Iterable<net.minecraft.util.Identifier> getIdentifierSuggestions()
      Overrides:
      getIdentifierSuggestions in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
    • save

      public net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag)
      Specified by:
      save in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>
    • load

      public List<net.minecraft.block.entity.BlockEntityType<?>> load(net.minecraft.nbt.NbtCompound tag)
      Specified by:
      load in class Setting<List<net.minecraft.block.entity.BlockEntityType<?>>>