Interface ISpatialService

All Superinterfaces:
IGridService

public interface ISpatialService extends IGridService
  • Method Details

    • hasRegion

      boolean hasRegion()
      Returns:
      true if a region is defined at all, it doesn't have to be valid, but all points must be in the same level.
    • isValidRegion

      boolean isValidRegion()
      Returns:
      true if the region defined is valid according to all rules.
    • getLevel

      net.minecraft.world.level.Level getLevel()
      Returns:
      The level that the spatial region is in.
    • getMin

      net.minecraft.core.BlockPos getMin()
      Returns:
      the minimum anchor point for the spatial region.
    • getMax

      net.minecraft.core.BlockPos getMax()
      Returns:
      the maximum anchor point for the spatial region.
    • requiredPower

      long requiredPower()
      Returns:
      how many AE units are required to preform the activation
    • currentEfficiency

      float currentEfficiency()
      Returns:
      current 100% - 0% efficiency.