Class CenteredArea

java.lang.Object
de.z0rdak.yawp.core.area.MarkedArea
de.z0rdak.yawp.core.area.CenteredArea
All Implemented Interfaces:
IMarkableArea
Direct Known Subclasses:
SphereArea, VerticalCylinderArea

public abstract class CenteredArea extends MarkedArea
  • Field Details

    • center

      protected net.minecraft.core.BlockPos center
  • Constructor Details

    • CenteredArea

      public CenteredArea(AreaType areaType)
    • CenteredArea

      public CenteredArea(net.minecraft.core.BlockPos center, AreaType areaType)
  • Method Details

    • getCenter

      public net.minecraft.core.Vec3i getCenter()
    • getCenterPos

      public net.minecraft.core.BlockPos getCenterPos()
    • contains

      public boolean contains(net.minecraft.core.BlockPos pos)
    • markedBlocks

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