Interface ISidedPathElement

All Superinterfaces:
Comparable<ISidedPathElement>
All Known Implementing Classes:
SidedPathElement

public interface ISidedPathElement extends Comparable<ISidedPathElement>
A path element wrapped together with the side it was found on. Multiple instances for the same 'element' can be created, so the comparator implementation must make sure that these instances are considered equal.
  • Method Details

    • getPathElement

      IPathElement getPathElement()
      Returns:
      The path element.
    • getSide

      @Nullable net.minecraft.core.Direction getSide()
      Returns:
      The side the path element was found on.