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>>

public class BlockListSetting extends Setting<List<net.minecraft.block.Block>>
  • Field Details

    • filter

      public final Predicate<net.minecraft.block.Block> filter
  • Constructor Details

  • Method Details

    • resetImpl

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

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

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

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

      protected net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag)
      Specified by:
      save in class Setting<List<net.minecraft.block.Block>>
    • load

      protected List<net.minecraft.block.Block> load(net.minecraft.nbt.NbtCompound tag)
      Specified by:
      load in class Setting<List<net.minecraft.block.Block>>