Class MechanicalMachineNetworkElement
java.lang.Object
org.cyclops.integrateddynamics.core.network.NetworkElementBase
org.cyclops.integrateddynamics.network.MechanicalMachineNetworkElement
- All Implemented Interfaces:
 Comparable<INetworkElement>,INetworkElement
Network element for mechanical machines.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanRevalidate(INetwork network) Check if this element can be revalidated if it has been invalidated.intintintvoidrevalidate(INetwork network) Revalidate this network element after it has been invalidated.voidsetPriorityAndChannel(INetwork network, int priority, int channel) Set the priority and channel of this element in the network.Methods inherited from class org.cyclops.integrateddynamics.core.network.NetworkElementBase
addDrops, afterNetworkAlive, afterNetworkReAlive, 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
onNeighborBlockChange 
- 
Constructor Details
- 
MechanicalMachineNetworkElement
public MechanicalMachineNetworkElement() 
 - 
 - 
Method Details
- 
setPriorityAndChannel
Description copied from interface:INetworkElementSet the priority and channel of this element in the network.- Parameters:
 network- The network this element is present in.priority- The new prioritychannel- The new channel
 - 
getPriority
public int getPriority()- Returns:
 - The priority of this element in the network.
 
 - 
getChannel
public int getChannel()- Returns:
 - The channel of this element in the network.
 
 - 
canRevalidate
Description copied from interface:INetworkElementCheck if this element can be revalidated if it has been invalidated.- 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.
 - 
compareTo
 
 -