public final class OverlayPoints
extends java.lang.Object
Each Long is a packed BlockPos produced
via BlockPos#asLong(). Points are ordered counterclockwise for the
outer ring and clockwise for holes (matching the existing JourneyMap
polygon convention).
| Constructor and Description |
|---|
OverlayPoints(java.util.List<java.lang.Long> points) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.List<java.lang.Long> |
points() |
java.lang.String |
toString() |
public OverlayPoints(java.util.List<java.lang.Long> points)
points - packed BlockPos longs, at least 3 entriespublic java.util.List<java.lang.Long> points()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object