Class MEGAEMCInterfacePart

java.lang.Object
appeng.parts.AEBasePart
gripe._90.appliede.part.EMCInterfacePart
gripe._90.megacells.integration.appliede.MEGAEMCInterfacePart
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.helpers.IConfigInvHost, appeng.util.IDebugExportable, gripe._90.appliede.me.misc.EMCInterfaceLogicHost, net.minecraft.world.Clearable, net.minecraft.world.Nameable

public class MEGAEMCInterfacePart extends gripe._90.appliede.part.EMCInterfacePart
  • 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 gripe._90.appliede.me.misc.EMCInterfaceLogicHost

    NODE_LISTENER

    Fields inherited from interface appeng.api.inventories.ISegmentedInventory

    CELLS, CONFIG, STORAGE, UPGRADES
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected gripe._90.appliede.me.misc.EMCInterfaceLogic
     
    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 gripe._90.appliede.part.EMCInterfacePart

    addAdditionalDrops, clearContent, createMainNode, getBoxes, getCableConnectionLength, getInterfaceLogic, onMainNodeStateChanged, onUseWithoutItem, readFromNBT, saveChanges, writeToNBT

    Methods inherited from class appeng.parts.AEBasePart

    addEntityCrashInfo, addToWorld, debugExport, exportSettings, exportSettings, getActionableNode, getBlockEntity, getColor, getCustomName, getGridNode, getHost, getLevel, getMainNode, getName, getPartItem, getSide, getSubInventory, 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 gripe._90.appliede.me.misc.EMCInterfaceLogicHost

    getBlockEntity, getConfig, 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

    • MEGAEMCInterfacePart

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

    • createLogic

      protected gripe._90.appliede.me.misc.EMCInterfaceLogic createLogic()
      Overrides:
      createLogic in class gripe._90.appliede.part.EMCInterfacePart
    • 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 gripe._90.appliede.part.EMCInterfacePart
    • getMainMenuIcon

      public net.minecraft.world.item.ItemStack getMainMenuIcon()
      Specified by:
      getMainMenuIcon in interface appeng.api.storage.ISubMenuHost
      Overrides:
      getMainMenuIcon in class gripe._90.appliede.part.EMCInterfacePart