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.CompoundTag tag)  
    default net.minecraft.nbt.CompoundTag toTag()  
    net.minecraft.nbt.CompoundTag toTag​(net.minecraft.nbt.CompoundTag tag)  
  • Method Details

    • toTag

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

      net.minecraft.nbt.CompoundTag toTag​(net.minecraft.nbt.CompoundTag tag)
    • fromTag

      void fromTag​(net.minecraft.nbt.CompoundTag tag)