Class PathElementPosition

java.lang.Object
org.cyclops.integrateddynamics.capability.path.PathElementDefault
org.cyclops.integrateddynamics.capability.path.PathElementPosition
All Implemented Interfaces:
Comparable<IPathElement>, IPathElement

public class PathElementPosition extends PathElementDefault
Implementation of IPathElement that only carries a position. Path elements are compared by position only, so this can be used to look up or remove a path element in a network when the block entity it originated from is not available anymore.
  • Constructor Details

    • PathElementPosition

      public PathElementPosition(org.cyclops.cyclopscore.datastructure.DimPos position)
  • Method Details

    • getPosition

      public org.cyclops.cyclopscore.datastructure.DimPos getPosition()
      Returns:
      The position of this element.