Class CoalGeneratorNetworkElement
java.lang.Object
org.cyclops.integrateddynamics.core.network.NetworkElementBase
org.cyclops.integrateddynamics.network.CoalGeneratorNetworkElement
- All Implemented Interfaces:
 Comparable<INetworkElement>,INetworkElement,IPositionedNetworkElement
public class CoalGeneratorNetworkElement
extends NetworkElementBase
implements IPositionedNetworkElement
Network element for coal generators.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanRevalidate(INetwork network) Check if this element can be revalidated if it has been invalidated.intintorg.cyclops.cyclopscore.datastructure.DimPosintvoidrevalidate(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
addDrops, afterNetworkAlive, afterNetworkReAlive, beforeNetworkKill, getUpdateInterval, invalidate, isUpdate, onNeighborBlockChange, onNeighborBlockChange, onNetworkAddition, onNetworkRemoval, onPostRemoved, onPreRemoved, update 
- 
Constructor Details
- 
CoalGeneratorNetworkElement
public CoalGeneratorNetworkElement() 
 - 
 - 
Method Details
- 
setPriorityAndChannel
Description copied from interface:INetworkElementSet the priority and channel of this element in the network.- Specified by:
 setPriorityAndChannelin interfaceINetworkElement- Parameters:
 network- The network this element is present in.priority- The new prioritychannel- The new channel
 - 
getPriority
public int getPriority()- Specified by:
 getPriorityin interfaceINetworkElement- Returns:
 - The priority of this element in the network.
 
 - 
getChannel
public int getChannel()- Specified by:
 getChannelin interfaceINetworkElement- 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.- 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.
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<INetworkElement>
 - 
getPosition
public org.cyclops.cyclopscore.datastructure.DimPos getPosition()- Specified by:
 getPositionin interfaceIPositionedNetworkElement
 
 -