Class ScreenHandlerListSetting

java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<net.minecraft.world.inventory.MenuType<?>>>
meteordevelopment.meteorclient.settings.ScreenHandlerListSetting
All Implemented Interfaces:
IGetter<List<net.minecraft.world.inventory.MenuType<?>>>, ISerializable<List<net.minecraft.world.inventory.MenuType<?>>>

public class ScreenHandlerListSetting extends Setting<List<net.minecraft.world.inventory.MenuType<?>>>
  • Constructor Details

    • ScreenHandlerListSetting

      public ScreenHandlerListSetting(String name, String description, List<net.minecraft.world.inventory.MenuType<?>> defaultValue, Consumer<List<net.minecraft.world.inventory.MenuType<?>>> onChanged, Consumer<Setting<List<net.minecraft.world.inventory.MenuType<?>>>> onModuleActivated, IVisible visible)
  • Method Details

    • resetImpl

      public void resetImpl()
      Overrides:
      resetImpl in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>
    • parseImpl

      protected List<net.minecraft.world.inventory.MenuType<?>> parseImpl(String str)
      Specified by:
      parseImpl in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>
    • isValueValid

      protected boolean isValueValid(List<net.minecraft.world.inventory.MenuType<?>> value)
      Specified by:
      isValueValid in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>
    • getIdentifierSuggestions

      public Iterable<net.minecraft.resources.Identifier> getIdentifierSuggestions()
      Overrides:
      getIdentifierSuggestions in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>
    • save

      public net.minecraft.nbt.CompoundTag save(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      save in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>
    • load

      public List<net.minecraft.world.inventory.MenuType<?>> load(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      load in class Setting<List<net.minecraft.world.inventory.MenuType<?>>>