Interface IStorageComponent


public interface IStorageComponent
Implemented on a Item
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getBytes(net.minecraft.world.item.ItemStack is)
    This isn't necessarily the same as if you make a storage cell out of it, but all of AE's default cells do it that way, its currently only used for the condenser.
    boolean
    isStorageComponent(net.minecraft.world.item.ItemStack is)
    Just true or false for the item stack.
  • Method Details

    • getBytes

      int getBytes(net.minecraft.world.item.ItemStack is)
      This isn't necessarily the same as if you make a storage cell out of it, but all of AE's default cells do it that way, its currently only used for the condenser.
      Parameters:
      is - item
      Returns:
      number of bytes
    • isStorageComponent

      boolean isStorageComponent(net.minecraft.world.item.ItemStack is)
      Just true or false for the item stack.
      Parameters:
      is - item
      Returns:
      true if item is a storage component