Package dev.lapis256.apprep.common.parts
Class ReplicationConnectorPart
-
- 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.IPriorityHost,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
public final class ReplicationConnectorPart extends AEBasePart implements ReplicationConnectorLogicHost
-
-
Field Summary
Fields Modifier and Type Field Description private final IPartItem<?>upgradableItemprivate final ReplicationConnectorLogiclogicprivate final DefaultMatterNetworkElementmatterNetworkElementprivate final MatterNetworkmatterNetworkprivate final BooleanisActiveprivate final BooleanisPoweredprivate final IPartModelstaticModelsprivate final BooleanisSolidprivate final Directionsideprivate final IManagedGridNodemainNodeprivate final IntegerlightLevelprivate final BooleanisClientSideprivate Integerpriorityprivate final ModelDatamodelDataprivate final IntegerisProvidingStrongPowerprivate final ItemStackmainMenuIconprivate final List<IMatterTank>tanksprivate final IPartItem<?>partItemprivate final BooleanisMissingChannelprivate final Levellevelprivate final Componentnameprivate final IGridNodeexternalFacingNodeprivate final BlockEntityblockEntityprivate final ComponentcustomNameprivate final AECableTypeexternalCableConnectionTypeprivate final IUpgradeInventoryupgradesprivate final AECableTypedesiredConnectionTypeprivate final IPartHosthostprivate final IGridNodeactionableNodeprivate final IGridNodegridNodeprivate final IntegerisProvidingWeakPowerprivate final ComponentdisplayName
-
Constructor Summary
Constructors Constructor Description ReplicationConnectorPart(IPartItem<?> partItem)
-
Method Summary
Modifier and Type Method Description IPartItem<?>getUpgradableItem()ReplicationConnectorLogicgetLogic()DefaultMatterNetworkElementgetMatterNetworkElement()MatterNetworkgetMatterNetwork()UnitgetBoxes(IPartCollisionHelper helper)UnitsaveChanges()UnitreadFromNBT(CompoundTag data, HolderLookup.Provider registries)UnitwriteToNBT(CompoundTag data, HolderLookup.Provider registries)FloatgetCableConnectionLength(AECableType cable)ItemStackgetMainMenuIcon()-
Methods inherited from class appeng.parts.AEBasePart
exportSettings, getActionableNode, getBlockEntity, getCustomName, getGridNode, getHost, getLevel, getMainNode, getName, getPartItem, getSide, isActive, isClientSide, isMissingChannel, isPowered, useStandardMemoryCard -
Methods inherited from class appeng.api.parts.IPart
addAdditionalDrops, addEntityCrashInfo, addPartDrop, addToWorld, animateTick, canBePlacedOn, canConnectRedstone, exportSettings, getDesiredConnectionType, getExternalCableConnectionType, getExternalFacingNode, getLightLevel, getModelData, getStaticModels, importSettings, isLadder, isProvidingStrongPower, isProvidingWeakPower, isSolid, onClicked, onEntityCollision, onNeighborChanged, onPlacement, onShiftClicked, onUpdateShape, onUseItemOn, onUseWithoutItem, readFromStream, readVisualStateFromNBT, removeFromWorld, renderDynamic, requireDynamicRender, setPartHostInfo, writeToStream, writeVisualStateToNBT -
Methods inherited from class dev.lapis256.apprep.common.logic.ReplicationConnectorLogicHost
getPriority, getPriority, getTanks, getTanks, getUpgrades, getUpgrades, onMainNodeStateChanged, openMenu, returnToMainMenu, setPriority, setPriority -
Methods inherited from class dev.lapis256.apprep.common.parts.ReplicationConnectorPart
getBlockEntity, getMainMenuIcon -
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.minecraft.world.Clearable
clearContent -
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
IPartItem<?> getUpgradableItem()
-
getLogic
ReplicationConnectorLogic getLogic()
-
getMatterNetworkElement
DefaultMatterNetworkElement getMatterNetworkElement()
-
getMatterNetwork
MatterNetwork getMatterNetwork()
-
saveChanges
Unit saveChanges()
-
readFromNBT
Unit readFromNBT(CompoundTag data, HolderLookup.Provider registries)
-
writeToNBT
Unit writeToNBT(CompoundTag data, HolderLookup.Provider registries)
-
getCableConnectionLength
Float getCableConnectionLength(AECableType cable)
-
getMainMenuIcon
ItemStack getMainMenuIcon()
-
-
-
-