Package gripe._90.megacells.block.entity
Class MEGAInterfaceBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
appeng.blockentity.AEBaseBlockEntity
appeng.blockentity.grid.AENetworkedBlockEntity
appeng.blockentity.misc.InterfaceBlockEntity
gripe._90.megacells.block.entity.MEGAInterfaceBlockEntity
- 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.api.util.IConfigurableObject,appeng.block.IOwnerAwareBlockEntity,appeng.helpers.IConfigInvHost,appeng.helpers.InterfaceLogicHost,appeng.helpers.IPriorityHost,appeng.me.helpers.IGridConnectedBlockEntity,appeng.util.IDebugExportable,net.minecraft.world.Clearable,net.minecraft.world.Nameable,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension
public class MEGAInterfaceBlockEntity
extends appeng.blockentity.misc.InterfaceBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInputNested 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, worldPositionFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface appeng.api.inventories.ISegmentedInventory
CELLS, CONFIG, STORAGE, UPGRADES -
Constructor Summary
ConstructorsConstructorDescriptionMEGAInterfaceBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState) -
Method Summary
Modifier and TypeMethodDescriptionprotected appeng.helpers.InterfaceLogicnet.minecraft.world.item.ItemStackvoidopenMenu(net.minecraft.world.entity.player.Player player, appeng.menu.locator.MenuHostLocator locator) voidreturnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu) Methods inherited from class appeng.blockentity.misc.InterfaceBlockEntity
addAdditionalDrops, clearContent, createMainNode, getCableConnectionType, getInterfaceLogic, getSubInventory, loadTag, onMainNodeStateChanged, saveAdditionalMethods inherited from class appeng.blockentity.grid.AENetworkedBlockEntity
clearRemoved, getMainNode, onChunkUnloaded, onGridConnectableSidesChanged, onOrientationChanged, onReady, setRemovedMethods inherited from class appeng.blockentity.AEBaseBlockEntity
debugExport, disassembleWithWrench, exportSettings, exportSettings, getBlockEntity, getCustomName, getFront, getGlobalPos, getItemFromBlockEntity, getModelData, getName, getOrientation, getQueuedForReady, getReadyInvoked, getTop, getUpdatePacket, getUpdateTag, importSettings, isClientSide, loadAdditional, loadVisualState, markForClientUpdate, markForUpdate, notLoaded, readFromStream, registerBlockEntityItem, saveChanges, saveVisualState, scheduleInit, setBlockState, setName, writeToStreamMethods 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, triggerEventMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingData, hasAttachments, hasData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, hasData, removeData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onDataPacket, onLoad, requestModelDataUpdateMethods inherited from interface appeng.me.helpers.IGridConnectedBlockEntity
getActionableNode, getGridConnectableSides, getGridNode, getGridNode, ifGridPresent, saveChanges, setOwnerMethods inherited from interface appeng.helpers.InterfaceLogicHost
getBlockEntity, getConfig, getConfigManager, getPriority, getStorage, getUpgrades, saveChanges, setPriorityMethods inherited from interface appeng.api.upgrades.IUpgradeableObject
getInstalledUpgrades, isUpgradedWithMethods inherited from interface net.minecraft.world.Nameable
getDisplayName, hasCustomName
-
Constructor Details
-
MEGAInterfaceBlockEntity
public MEGAInterfaceBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState)
-
-
Method Details
-
createLogic
protected appeng.helpers.InterfaceLogic createLogic()- Overrides:
createLogicin classappeng.blockentity.misc.InterfaceBlockEntity
-
getMainMenuIcon
public net.minecraft.world.item.ItemStack getMainMenuIcon()- Specified by:
getMainMenuIconin interfaceappeng.api.storage.ISubMenuHost- Overrides:
getMainMenuIconin classappeng.blockentity.misc.InterfaceBlockEntity
-