Interface Saveable

All Known Implementing Classes:
DirectFixedItemInv, FullFixedItemInv, JumboFixedFluidInv, SimpleFixedFluidInv, SimpleFixedItemInv, SimpleGroupedItemInv

public interface Saveable
An object that can be saved and loaded (in place, unlike fluid keys or volumes which must be loaded from a specialised static method).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fromTag​(net.minecraft.nbt.NbtCompound tag)
     
    default net.minecraft.nbt.NbtCompound
     
    net.minecraft.nbt.NbtCompound
    toTag​(net.minecraft.nbt.NbtCompound tag)
     
  • Method Details

    • toTag

      default net.minecraft.nbt.NbtCompound toTag()
    • toTag

      net.minecraft.nbt.NbtCompound toTag(net.minecraft.nbt.NbtCompound tag)
    • fromTag

      void fromTag(net.minecraft.nbt.NbtCompound tag)