Class MEGAEMCInterfaceBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
appeng.blockentity.AEBaseBlockEntity
appeng.blockentity.grid.AENetworkedBlockEntity
gripe._90.appliede.block.EMCInterfaceBlockEntity
gripe._90.megacells.integration.appliede.MEGAEMCInterfaceBlockEntity
All Implemented Interfaces:
appeng.api.inventories.ISegmentedInventory, appeng.api.networking.IInWorldGridNodeHost, appeng.api.networking.security.IActionHost, appeng.api.storage.ISubMenuHost, appeng.api.upgrades.IUpgradeableObject, appeng.block.IOwnerAwareBlockEntity, appeng.helpers.IConfigInvHost, appeng.me.helpers.IGridConnectedBlockEntity, appeng.util.IDebugExportable, gripe._90.appliede.me.misc.EMCInterfaceLogicHost, net.minecraft.world.Clearable, net.minecraft.world.Nameable, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class MEGAEMCInterfaceBlockEntity extends gripe._90.appliede.block.EMCInterfaceBlockEntity
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity

    net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput

    Nested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    net.neoforged.neoforge.attachment.AttachmentHolder.AsField
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    ATTACHMENTS_NBT_KEY

    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
    MEGAEMCInterfaceBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected gripe._90.appliede.me.misc.EMCInterfaceLogic
     
    net.minecraft.world.item.ItemStack
     
    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.block.EMCInterfaceBlockEntity

    addAdditionalDrops, clearContent, createMainNode, getInterfaceLogic, getItemFromBlockEntity, loadTag, onMainNodeStateChanged, saveAdditional

    Methods inherited from class appeng.blockentity.grid.AENetworkedBlockEntity

    clearRemoved, getCableConnectionType, getMainNode, onChunkUnloaded, onGridConnectableSidesChanged, onOrientationChanged, onReady, setRemoved

    Methods inherited from class appeng.blockentity.AEBaseBlockEntity

    debugExport, disassembleWithWrench, exportSettings, exportSettings, getBlockEntity, getCustomName, getFront, getGlobalPos, getModelData, getName, getOrientation, getQueuedForReady, getReadyInvoked, getSubInventory, getTop, getUpdatePacket, getUpdateTag, importSettings, isClientSide, loadAdditional, loadVisualState, markForClientUpdate, markForUpdate, notLoaded, readFromStream, registerBlockEntityItem, saveChanges, saveVisualState, scheduleInit, setBlockState, setName, writeToStream

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setChanged, setComponents, setData, setLevel, triggerEvent

    Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    deserializeAttachments, getData, getExistingData, hasAttachments, hasData, serializeAttachments

    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, saveChanges

    Methods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder

    getData, getExistingData, hasData, removeData, setData

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension

    handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onDataPacket, onLoad, requestModelDataUpdate

    Methods inherited from interface appeng.me.helpers.IGridConnectedBlockEntity

    getActionableNode, getGridConnectableSides, getGridNode, getGridNode, ifGridPresent, saveChanges, setOwner

    Methods inherited from interface appeng.api.upgrades.IUpgradeableObject

    getInstalledUpgrades, isUpgradedWith

    Methods inherited from interface net.minecraft.world.Nameable

    getDisplayName, hasCustomName
  • Constructor Details

    • MEGAEMCInterfaceBlockEntity

      public MEGAEMCInterfaceBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • createLogic

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

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