Package de.z0rdak.yawp.api.core.area
Class CuboidBuilder
java.lang.Object
de.z0rdak.yawp.api.core.area.CuboidBuilder
- All Implemented Interfaces:
AreaBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarea(net.minecraft.core.BlockPos corner1, net.minecraft.core.BlockPos corner2) area(net.minecraft.world.level.levelgen.structure.BoundingBox box) around(net.minecraft.core.BlockPos center, int offsetX, int offsetY, int offsetZ) atBlock(net.minecraft.core.BlockPos pos) build()startingAt(net.minecraft.core.BlockPos corner, int widthX, int heightY, int depthZ)
-
Constructor Details
-
CuboidBuilder
public CuboidBuilder()
-
-
Method Details
-
area
-
atBlock
-
around
public CuboidBuilder around(net.minecraft.core.BlockPos center, int offsetX, int offsetY, int offsetZ) -
startingAt
public CuboidBuilder startingAt(net.minecraft.core.BlockPos corner, int widthX, int heightY, int depthZ) -
area
-
build
- Specified by:
buildin interfaceAreaBuilder
-