Class AABBHelpers

java.lang.Object
top.girlkisser.lazuli.api.world.AABBHelpers

public final class AABBHelpers extends Object
Provides helpers for AABBs.
  • Method Details

    • properlyBoundedStreamAABB

      public static Stream<net.minecraft.core.BlockPos> properlyBoundedStreamAABB(net.minecraft.world.phys.AABB aabb)
      The same as but excludes minX/Y/Z.
      Parameters:
      aabb - The AABB to stream
      Returns:
      A stream of s in the AABB.
    • ofBlock

      public static net.minecraft.world.phys.AABB ofBlock(net.minecraft.core.BlockPos pos)
      Get an AABB encapsulating only the provided block position.
      Parameters:
      pos - The block position.
      Returns:
      The AABB.