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