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 Details

    • CoalGeneratorNetworkElement

      public CoalGeneratorNetworkElement()
  • Method Details

    • setPriorityAndChannel

      public void setPriorityAndChannel(INetwork network, int priority, int channel)
      Description copied from interface: INetworkElement
      Set the priority and channel of this element in the network.
      Specified by:
      setPriorityAndChannel in interface INetworkElement
      Parameters:
      network - The network this element is present in.
      priority - The new priority
      channel - The new channel
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface INetworkElement
      Returns:
      The priority of this element in the network.
    • getChannel

      public int getChannel()
      Specified by:
      getChannel in interface INetworkElement
      Returns:
      The channel of this element in the network.
    • canRevalidate

      public boolean canRevalidate(INetwork network)
      Description copied from interface: INetworkElement
      Check if this element can be revalidated if it has been invalidated.
      Specified by:
      canRevalidate in interface INetworkElement
      Parameters:
      network - The network.
      Returns:
      If it can be revalidated.
    • revalidate

      public void revalidate(INetwork network)
      Description copied from interface: INetworkElement
      Revalidate this network element after it has been invalidated.
      Specified by:
      revalidate in interface INetworkElement
      Overrides:
      revalidate in class NetworkElementBase
      Parameters:
      network - The network.
    • compareTo

      public int compareTo(INetworkElement o)
      Specified by:
      compareTo in interface Comparable<INetworkElement>
    • getPosition

      public org.cyclops.cyclopscore.datastructure.DimPos getPosition()
      Specified by:
      getPosition in interface IPositionedNetworkElement
    • isLoaded

      public boolean isLoaded()
      Specified by:
      isLoaded in interface INetworkElement
      Returns:
      If this element's position is currently loaded in the world.