Interface IMarkableArea

All Known Implementing Classes:
CenteredArea, CuboidArea, MarkedArea, Polygon3DArea, PrismArea, SphereArea, VerticalCylinderArea

public interface IMarkableArea
IMarkableArea provides an interface for different types of areas. The most basic area would be a simple AxisAlignedBB. This type of mark-able area is already implemented in the class CuboidArea.
  • Method Details

    • contains

      boolean contains(net.minecraft.core.BlockPos pos)
    • getAreaType

      AreaType getAreaType()
    • markedBlocks

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

      Set<net.minecraft.core.BlockPos> getHull()
      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

      Set<net.minecraft.core.BlockPos> getFrame()
      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

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

      boolean containsOther(IMarkableArea other)
    • intersects

      boolean intersects(IMarkableArea other)
    • getType

      MarkedAreaType<?> getType()
    • getDisplay

    • updateDisplay

      void updateDisplay(BlockDisplayProperties properties)