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.core.RegistryAccess registryAccess)
     
    static void
    saveSharedInv(net.minecraft.server.MinecraftServer server)
     
    static net.minecraft.nbt.ListTag
    toNbtList(net.minecraft.world.SimpleContainer inv, net.minecraft.core.RegistryAccess registryAccess)
     

    Methods inherited from class java.lang.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.core.RegistryAccess registryAccess)
    • toNbtList

      public static net.minecraft.nbt.ListTag toNbtList(net.minecraft.world.SimpleContainer inv, net.minecraft.core.RegistryAccess registryAccess)