Class TileNetworkElement<T extends BlockEntityCableConnectableInventory>
java.lang.Object
org.cyclops.integrateddynamics.core.network.NetworkElementBase
org.cyclops.integrateddynamics.core.network.ConsumingNetworkElementBase
org.cyclops.integrateddynamics.core.network.TileNetworkElement<T>
- All Implemented Interfaces:
Comparable<INetworkElement>,IEnergyConsumingNetworkElement,INetworkElement,IPositionedNetworkElement
- Direct Known Subclasses:
MaterializerNetworkElement,ProxyNetworkElement,VariablestoreNetworkElement
public abstract class TileNetworkElement<T extends BlockEntityCableConnectableInventory>
extends ConsumingNetworkElementBase
implements IPositionedNetworkElement
Network element for part entities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterNetworkReAlive(INetwork network) Called right after this network has come alive again, for example after a network restart.booleancanRevalidate(INetwork network) Check if this element can be revalidated if it has been invalidated.intorg.cyclops.cyclopscore.datastructure.DimPosgetTile()voidrevalidate(INetwork network) Revalidate this network element after it has been invalidated.Methods inherited from class org.cyclops.integrateddynamics.core.network.ConsumingNetworkElementBase
getConsumptionRate, postUpdateMethods inherited from class org.cyclops.integrateddynamics.core.network.NetworkElementBase
addDrops, afterNetworkAlive, beforeNetworkKill, canRevalidatePositioned, getUpdateInterval, invalidate, isUpdate, onNeighborBlockChange, onNetworkAddition, onNetworkRemoval, onPostRemoved, onPreRemoved, revalidatePositioned, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.network.INetworkElement
addDrops, afterNetworkAlive, beforeNetworkKill, getChannel, getPriority, getUpdateInterval, invalidate, isUpdate, onNeighborBlockChange, onNeighborBlockChange, onNetworkAddition, onNetworkRemoval, onPostRemoved, onPreRemoved, setPriorityAndChannel, update
-
Constructor Details
-
TileNetworkElement
public TileNetworkElement()
-
-
Method Details
-
getTileClass
-
getTile
-
compareTo
- Specified by:
compareToin interfaceComparable<T extends BlockEntityCableConnectableInventory>
-
afterNetworkReAlive
Description copied from interface:INetworkElementCalled right after this network has come alive again, for example after a network restart.- Specified by:
afterNetworkReAlivein interfaceINetworkElement- Overrides:
afterNetworkReAlivein classNetworkElementBase- Parameters:
network- The network to update in.
-
canRevalidate
Description copied from interface:INetworkElementCheck if this element can be revalidated if it has been invalidated.- Specified by:
canRevalidatein interfaceINetworkElement- Parameters:
network- The network.- Returns:
- If it can be revalidated.
-
revalidate
Description copied from interface:INetworkElementRevalidate this network element after it has been invalidated.- Specified by:
revalidatein interfaceINetworkElement- Overrides:
revalidatein classNetworkElementBase- Parameters:
network- The network.
-
getPosition
public org.cyclops.cyclopscore.datastructure.DimPos getPosition()- Specified by:
getPositionin interfaceIPositionedNetworkElement
-