Interface IMarkableArea

All Superinterfaces:
INbtSerializable<net.minecraft.nbt.CompoundTag>
All Known Implementing Classes:
AbstractArea, CenteredArea, CuboidArea, Polygon3DArea, PrismArea, SphereArea, VerticalCylinderArea

public interface IMarkableArea extends INbtSerializable<net.minecraft.nbt.CompoundTag>
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

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

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

      boolean containsOther(IMarkableArea other)
    • intersects

      boolean intersects(IMarkableArea other)