Class SidedPathElement
java.lang.Object
org.cyclops.integrateddynamics.capability.path.SidedPathElement
- All Implemented Interfaces:
Comparable<ISidedPathElement>,ISidedPathElement
-
Constructor Summary
ConstructorsConstructorDescriptionSidedPathElement(IPathElement pathElement, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionintbooleannet.minecraft.core.DirectiongetSide()inthashCode()static SidedPathElementof(IPathElement pathElement, net.minecraft.core.Direction side) toString()
-
Constructor Details
-
SidedPathElement
-
-
Method Details
-
getPathElement
- Specified by:
getPathElementin interfaceISidedPathElement- Returns:
- The path element.
-
getSide
@Nullable public net.minecraft.core.Direction getSide()- Specified by:
getSidein interfaceISidedPathElement- Returns:
- The side the path element was found on.
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<ISidedPathElement>
-
hashCode
public int hashCode() -
toString
-
of
public static SidedPathElement of(IPathElement pathElement, @Nullable net.minecraft.core.Direction side)
-