Package net.liukrast.multipart.block
Class AbstractMultipartBlock.Builder
java.lang.Object
net.liukrast.multipart.block.AbstractMultipartBlock.Builder
- Enclosing class:
AbstractMultipartBlock
Builder to define relative positions of multipart block parts.
-
Method Summary
Modifier and TypeMethodDescriptiondefine(int x, int y, int z) Defines a new relative position for a part.
-
Method Details
-
define
Defines a new relative position for a part.- Parameters:
x- relative X coordinate.y- relative Y coordinate.z- relative Z coordinate.- Returns:
- the builder instance for chaining.
- Throws:
IllegalCallerException- if the position is already defined.
-