Class MEGAInterfacePart

java.lang.Object
appeng.parts.AEBasePart
appeng.parts.misc.InterfacePart
gripe._90.megacells.item.part.MEGAInterfacePart
All Implemented Interfaces:
appeng.api.implementations.IPowerChannelState, appeng.api.inventories.ISegmentedInventory, appeng.api.networking.security.IActionHost, appeng.api.parts.ICustomCableConnection, appeng.api.parts.IPart, appeng.api.storage.ISubMenuHost, appeng.api.upgrades.IUpgradeableObject, appeng.api.util.IConfigurableObject, appeng.helpers.IConfigInvHost, appeng.helpers.InterfaceLogicHost, appeng.helpers.IPriorityHost, appeng.util.IDebugExportable, net.minecraft.world.Clearable, net.minecraft.world.Nameable

public class MEGAInterfacePart extends appeng.parts.misc.InterfacePart
  • Nested Class Summary

    Nested classes/interfaces inherited from class appeng.parts.AEBasePart

    appeng.parts.AEBasePart.NodeListener<T extends appeng.parts.AEBasePart>
  • Field Summary

    Fields inherited from interface appeng.api.inventories.ISegmentedInventory

    CELLS, CONFIG, STORAGE, UPGRADES
  • Constructor Summary

    Constructors
    Constructor
    Description
    MEGAInterfacePart(appeng.api.parts.IPartItem<?> partItem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected appeng.helpers.InterfaceLogic
     
    net.minecraft.world.item.ItemStack
     
    appeng.api.parts.IPartModel
     
    void
    openMenu(net.minecraft.world.entity.player.Player player, appeng.menu.locator.MenuHostLocator locator)
     
    void
    returnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu)
     

    Methods inherited from class appeng.parts.misc.InterfacePart

    addAdditionalDrops, clearContent, createMainNode, getBoxes, getCableConnectionLength, getConfigManager, getInterfaceLogic, getPriority, getSubInventory, onMainNodeStateChanged, onUseWithoutItem, readFromNBT, saveChanges, setPriority, writeToNBT

    Methods inherited from class appeng.parts.AEBasePart

    addEntityCrashInfo, addToWorld, debugExport, exportSettings, exportSettings, getActionableNode, getBlockEntity, getColor, getCustomName, getGridNode, getHost, getLevel, getMainNode, getName, getPartItem, getSide, importSettings, isActive, isClientSide, isMissingChannel, isPowered, onPlacement, onUseItemOn, readFromStream, readVisualStateFromNBT, removeFromWorld, setPartHostInfo, setPartItem, shouldSendMissingChannelStateToClient, shouldSendPowerStateToClient, useStandardMemoryCard, writeToStream, writeVisualStateToNBT

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface appeng.helpers.InterfaceLogicHost

    getBlockEntity, getConfig, getStorage, getUpgrades

    Methods inherited from interface appeng.api.parts.IPart

    addPartDrop, animateTick, canBePlacedOn, canConnectRedstone, getDesiredConnectionType, getExternalCableConnectionType, getExternalFacingNode, getLightLevel, getModelData, isLadder, isProvidingStrongPower, isProvidingWeakPower, isSolid, onClicked, onEntityCollision, onNeighborChanged, onShiftClicked, onUpdateShape, renderDynamic, requireDynamicRender

    Methods inherited from interface appeng.api.upgrades.IUpgradeableObject

    getInstalledUpgrades, isUpgradedWith

    Methods inherited from interface net.minecraft.world.Nameable

    getDisplayName, hasCustomName
  • Constructor Details

    • MEGAInterfacePart

      public MEGAInterfacePart(appeng.api.parts.IPartItem<?> partItem)
  • Method Details

    • createLogic

      protected appeng.helpers.InterfaceLogic createLogic()
      Overrides:
      createLogic in class appeng.parts.misc.InterfacePart
    • openMenu

      public void openMenu(net.minecraft.world.entity.player.Player player, appeng.menu.locator.MenuHostLocator locator)
    • returnToMainMenu

      public void returnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu)
    • getStaticModels

      public appeng.api.parts.IPartModel getStaticModels()
      Specified by:
      getStaticModels in interface appeng.api.parts.IPart
      Overrides:
      getStaticModels in class appeng.parts.misc.InterfacePart
    • getMainMenuIcon

      public net.minecraft.world.item.ItemStack getMainMenuIcon()
      Specified by:
      getMainMenuIcon in interface appeng.api.storage.ISubMenuHost
      Overrides:
      getMainMenuIcon in class appeng.parts.misc.InterfacePart