java.lang.Object
com.hammy275.immersivemc.common.immersive.storage.network.impl.ListOfItemsStorage
com.hammy275.immersivemc.common.immersive.storage.network.impl.ETableStorage
All Implemented Interfaces:
NetworkStorage

public class ETableStorage extends ListOfItemsStorage
  • Field Details

    • xpLevels

      public int[] xpLevels
    • enchantHints

      public int[] enchantHints
    • levelHints

      public int[] levelHints
  • Constructor Details

    • ETableStorage

      public ETableStorage(List<net.minecraft.world.item.ItemStack> items)
    • ETableStorage

      public ETableStorage()
  • Method Details

    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buffer)
      Description copied from interface: NetworkStorage
      Encode this storage into a buffer.
      Specified by:
      encode in interface NetworkStorage
      Overrides:
      encode in class ListOfItemsStorage
      Parameters:
      buffer - Buffer to encode storage into.
    • decode

      public void decode(net.minecraft.network.FriendlyByteBuf buffer)
      Description copied from interface: NetworkStorage
      Decode the buffer into this object.
      Specified by:
      decode in interface NetworkStorage
      Overrides:
      decode in class ListOfItemsStorage
      Parameters:
      buffer - Buffer to decode from.