Class ReplicationConnectorBlockEntity
-
- 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.IPriorityHost,appeng.me.helpers.IGridConnectedBlockEntity,appeng.util.IDebugExportable,com.buuz135.replication.api.network.IMatterTanksConsumer,com.buuz135.replication.api.network.IMatterTanksSupplier,dev.lapis256.apprep.common.logic.ReplicationConnectorLogicHost,net.minecraft.world.Clearable,net.minecraft.world.Nameable,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension
public final class ReplicationConnectorBlockEntity extends AENetworkedBlockEntity implements IPriorityHost, ReplicationConnectorLogicHost
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockDefinition<ReplicationConnectorBlock>upgradableItemprivate final ReplicationConnectorLogiclogicprivate final DefaultMatterNetworkElementmatterNetworkElementprivate final MatterNetworkmatterNetworkprivate final IManagedGridNodemainNodeprivate final BooleanisClientSideprivate final BlockOrientationorientationprivate final BlockEntityType<?>typeprivate final ModelDatamodelDataprivate final GlobalPosglobalPosprivate final BlockPosblockPosprivate final CompoundTagpersistentDataprivate final List<IMatterTank>tanksprivate final BytereadyInvokedprivate final BytequeuedForReadyprivate BlockStateblockStateprivate final BooleanisRemovedprivate final Packet<ClientGamePacketListener>updatePacketprivate Integerpriorityprivate final ItemStackmainMenuIconprivate Levellevelprivate final Componentnameprivate final BlockEntityblockEntityprivate final ComponentcustomNameprivate final IUpgradeInventoryupgradesprivate final IGridNodegridNodeprivate final IGridNodeactionableNodeprivate final Directiontopprivate final ComponentdisplayNameprivate final Directionfront
-
Constructor Summary
Constructors Constructor Description ReplicationConnectorBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description BlockDefinition<ReplicationConnectorBlock>getUpgradableItem()ReplicationConnectorLogicgetLogic()DefaultMatterNetworkElementgetMatterNetworkElement()MatterNetworkgetMatterNetwork()UnitonLoad()UnitonChunkUnloaded()UnitsetRemoved()UnitonMainNodeStateChanged(IGridNodeListener.State reason)UnitsaveAdditional(CompoundTag data, HolderLookup.Provider registries)UnitloadTag(CompoundTag data, HolderLookup.Provider registries)AECableTypegetCableConnectionType(Direction dir)UnitaddAdditionalDrops(Level level, BlockPos pos, List<ItemStack> drops)UnitclearContent()ItemStackgetMainMenuIcon()-
Methods inherited from class appeng.blockentity.grid.AENetworkedBlockEntity
getMainNode -
Methods inherited from class appeng.blockentity.AEBaseBlockEntity
disassembleWithWrench, exportSettings, exportSettings, getBlockEntity, getCustomName, getFront, getGlobalPos, getModelData, getName, getOrientation, getQueuedForReady, getReadyInvoked, getTop, getUpdatePacket, importSettings, isClientSide, markForClientUpdate, markForUpdate, notLoaded, onReady, saveChanges, setBlockState, setName -
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getType, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadAdditional, loadCustomOnly, loadWithComponents, onlyOpCanSetNbt, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setComponents, setLevel, triggerEvent -
Methods inherited from class dev.lapis256.apprep.common.logic.ReplicationConnectorLogicHost
getTanks, getTanks, getUpgrades, getUpgrades, onMainNodeStateChanged, openMenu -
Methods inherited from class dev.lapis256.apprep.common.block.entity.ReplicationConnectorBlockEntity
getBlockEntity, getMainMenuIcon, getPriority, setPriority -
Methods inherited from class appeng.me.helpers.IGridConnectedBlockEntity
getActionableNode, getGridConnectableSides, getGridNode, ifGridPresent -
Methods inherited from class net.minecraft.world.Nameable
getDisplayName, hasCustomName -
Methods inherited from class appeng.api.inventories.ISegmentedInventory
getSubInventory -
Methods inherited from class appeng.util.IDebugExportable
debugExport -
Methods inherited from class net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getData, getExistingData, getExistingData, getExistingDataOrNull, getExistingDataOrNull, hasAttachments, hasData, hasData, removeData, removeData, setData, setData, syncData, syncData -
Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
serializeAttachments -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockEntityExtension
handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onDataPacket, requestModelDataUpdate -
Methods inherited from class appeng.block.IOwnerAwareBlockEntity
setOwner -
Methods inherited from class appeng.helpers.IPriorityHost
getPriority, setPriority -
Methods inherited from class appeng.api.storage.ISubMenuHost
returnToMainMenu -
Methods inherited from class appeng.api.upgrades.IUpgradeableObject
getInstalledUpgrades, isUpgradedWith -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUpgradableItem
BlockDefinition<ReplicationConnectorBlock> getUpgradableItem()
-
getLogic
ReplicationConnectorLogic getLogic()
-
getMatterNetworkElement
DefaultMatterNetworkElement getMatterNetworkElement()
-
getMatterNetwork
MatterNetwork getMatterNetwork()
-
onChunkUnloaded
Unit onChunkUnloaded()
-
setRemoved
Unit setRemoved()
-
onMainNodeStateChanged
Unit onMainNodeStateChanged(IGridNodeListener.State reason)
-
saveAdditional
Unit saveAdditional(CompoundTag data, HolderLookup.Provider registries)
-
getCableConnectionType
AECableType getCableConnectionType(Direction dir)
-
addAdditionalDrops
Unit addAdditionalDrops(Level level, BlockPos pos, List<ItemStack> drops)
-
clearContent
Unit clearContent()
-
getMainMenuIcon
ItemStack getMainMenuIcon()
-
-
-
-