Package top.girlkisser.lazuli.api.world
Class AABBHelpers
java.lang.Object
top.girlkisser.lazuli.api.world.AABBHelpers
Provides helpers for
AABBs.-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.AABBofBlock(net.minecraft.core.BlockPos pos) Get anAABBencapsulating only the provided block position.static Stream<net.minecraft.core.BlockPos> properlyBoundedStreamAABB(net.minecraft.world.phys.AABB aabb) The same as but excludesminX/Y/Z.
-
Method Details
-
properlyBoundedStreamAABB
public static Stream<net.minecraft.core.BlockPos> properlyBoundedStreamAABB(net.minecraft.world.phys.AABB aabb) The same as but excludesminX/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 anAABBencapsulating only the provided block position.- Parameters:
pos- The block position.- Returns:
- The AABB.
-