Class Polygon3DArea

java.lang.Object
de.z0rdak.yawp.core.area.MarkedArea
de.z0rdak.yawp.core.area.Polygon3DArea
All Implemented Interfaces:
IMarkableArea

public class Polygon3DArea extends MarkedArea
  • Constructor Details

    • Polygon3DArea

      public Polygon3DArea(List<net.minecraft.core.BlockPos> positions)
  • Method Details

    • getPositions

      public List<net.minecraft.core.BlockPos> getPositions()
    • contains

      public boolean contains(net.minecraft.core.BlockPos q)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • markedBlocks

      public Set<net.minecraft.core.BlockPos> markedBlocks()
    • getHull

      public Set<net.minecraft.core.BlockPos> getHull()
      Description copied from interface: IMarkableArea
      Set containing all block positions which represent the outer hull of the marked area. The hull is the solid outer perimeter of the marked area.
    • getFrame

      public Set<net.minecraft.core.BlockPos> getFrame()
      Description copied from interface: IMarkableArea
      Set containing all block positions which represent the outer frame of the marked area. The frame is the minimum required blocks to give a rough outline o the marked area
    • getMinimalOutline

      public Set<net.minecraft.core.BlockPos> getMinimalOutline()
    • containsOther

      public boolean containsOther(IMarkableArea other)
    • intersects

      public boolean intersects(IMarkableArea other)
    • getType

      public MarkedAreaType<?> getType()