Class InventoryManager

java.lang.Object
easton.sharedechest.InventoryManager

public class InventoryManager extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.world.SimpleContainer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    loadSharedInv(net.minecraft.server.MinecraftServer server)
     
    static void
    readNbtList(net.minecraft.nbt.ListTag nbtList, net.minecraft.world.SimpleContainer inv, net.minecraft.resources.RegistryOps<net.minecraft.nbt.Tag> ops)
     
    static void
    saveSharedInv(net.minecraft.server.MinecraftServer server)
     
    static net.minecraft.nbt.ListTag
    toNbtList(net.minecraft.world.SimpleContainer inv, net.minecraft.resources.RegistryOps<net.minecraft.nbt.Tag> ops)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sharedInventory

      public static net.minecraft.world.SimpleContainer sharedInventory
  • Constructor Details

    • InventoryManager

      public InventoryManager()
  • Method Details

    • loadSharedInv

      public static void loadSharedInv(net.minecraft.server.MinecraftServer server) throws IOException
      Throws:
      IOException
    • saveSharedInv

      public static void saveSharedInv(net.minecraft.server.MinecraftServer server) throws IOException
      Throws:
      IOException
    • readNbtList

      public static void readNbtList(net.minecraft.nbt.ListTag nbtList, net.minecraft.world.SimpleContainer inv, net.minecraft.resources.RegistryOps<net.minecraft.nbt.Tag> ops)
    • toNbtList

      public static net.minecraft.nbt.ListTag toNbtList(net.minecraft.world.SimpleContainer inv, net.minecraft.resources.RegistryOps<net.minecraft.nbt.Tag> ops)