Class PortableCellWorkbenchMenuHost

java.lang.Object
appeng.api.implementations.menuobjects.ItemMenuHost<PortableCellWorkbenchItem>
gripe._90.megacells.item.cell.PortableCellWorkbenchMenuHost
All Implemented Interfaces:
appeng.api.inventories.ISegmentedInventory, appeng.api.upgrades.IUpgradeableObject, appeng.api.util.IConfigurableObject, appeng.helpers.IConfigInvHost, CellWorkbenchHost

public class PortableCellWorkbenchMenuHost extends appeng.api.implementations.menuobjects.ItemMenuHost<PortableCellWorkbenchItem> implements appeng.api.inventories.ISegmentedInventory, appeng.api.util.IConfigurableObject, appeng.helpers.IConfigInvHost, CellWorkbenchHost
See CellWorkbenchBlockEntity
  • Field Summary

    Fields inherited from interface appeng.api.inventories.ISegmentedInventory

    CELLS, CONFIG, STORAGE, UPGRADES
  • Constructor Summary

    Constructors
    Constructor
    Description
    PortableCellWorkbenchMenuHost(PortableCellWorkbenchItem item, net.minecraft.world.entity.player.Player player, appeng.menu.locator.ItemMenuHostLocator locator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    appeng.api.storage.cells.ICellWorkbenchItem
     
    appeng.api.upgrades.IUpgradeInventory
     
    appeng.helpers.externalstorage.GenericStackInv
     
    appeng.api.util.IConfigManager
     
    appeng.api.inventories.InternalInventory
    getSubInventory(net.minecraft.resources.ResourceLocation id)
     
    net.minecraft.world.item.ItemStack
     
    void
     

    Methods inherited from class appeng.api.implementations.menuobjects.ItemMenuHost

    consumeIdlePower, getItem, getItemStack, getLocator, getPlayer, getPlayerInventorySlot, getPowerDrainPerTick, getUpgrades, insert, isClientSide, isValid, tick

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface appeng.api.upgrades.IUpgradeableObject

    getInstalledUpgrades, isUpgradedWith
  • Constructor Details

    • PortableCellWorkbenchMenuHost

      public PortableCellWorkbenchMenuHost(PortableCellWorkbenchItem item, net.minecraft.world.entity.player.Player player, appeng.menu.locator.ItemMenuHostLocator locator)
  • Method Details

    • getCell

      public appeng.api.storage.cells.ICellWorkbenchItem getCell()
      Specified by:
      getCell in interface CellWorkbenchHost
    • mega$getContainedStack

      public net.minecraft.world.item.ItemStack mega$getContainedStack()
      Specified by:
      mega$getContainedStack in interface CellWorkbenchHost
    • getConfigManager

      public appeng.api.util.IConfigManager getConfigManager()
      Specified by:
      getConfigManager in interface appeng.api.util.IConfigurableObject
    • getConfig

      public appeng.helpers.externalstorage.GenericStackInv getConfig()
      Specified by:
      getConfig in interface appeng.helpers.IConfigInvHost
    • getCellUpgrades

      public appeng.api.upgrades.IUpgradeInventory getCellUpgrades()
    • saveChanges

      public void saveChanges()
      Specified by:
      saveChanges in interface CellWorkbenchHost
    • getSubInventory

      public appeng.api.inventories.InternalInventory getSubInventory(net.minecraft.resources.ResourceLocation id)
      Specified by:
      getSubInventory in interface appeng.api.inventories.ISegmentedInventory