public static interface BlockNbtComponent.Builder extends NbtComponentBuilder<BlockNbtComponent,BlockNbtComponent.Builder>
| Modifier and Type | Method and Description |
|---|---|
default @NonNull BlockNbtComponent.Builder |
absoluteWorldPos(int x,
int y,
int z)
Sets the block position to an absolute
BlockNbtComponent.WorldPos with the given coordinates. |
default @NonNull BlockNbtComponent.Builder |
localPos(double left,
double up,
double forwards)
Sets the block position to a
BlockNbtComponent.LocalPos with the given values. |
@NonNull BlockNbtComponent.Builder |
pos(@NonNull BlockNbtComponent.Pos pos)
Sets the block position.
|
default @NonNull BlockNbtComponent.Builder |
relativeWorldPos(int x,
int y,
int z)
Sets the block position to an relative
BlockNbtComponent.WorldPos with the given coordinates. |
default @NonNull BlockNbtComponent.Builder |
worldPos(BlockNbtComponent.WorldPos.Coordinate x,
BlockNbtComponent.WorldPos.Coordinate y,
BlockNbtComponent.WorldPos.Coordinate z)
Sets the block position to a
BlockNbtComponent.WorldPos with the given coordinates. |
interpret, nbtPathappend, append, append, append, append, append, append, apply, applyDeep, build, clickEvent, color, colorIfAbsent, decoration, decoration, decorations, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeColor, mergeDecorations, mergeEvents, mergeStyle, resetStyle, style@NonNull BlockNbtComponent.Builder pos(@NonNull BlockNbtComponent.Pos pos)
pos - the block positiondefault @NonNull BlockNbtComponent.Builder localPos(double left, double up, double forwards)
BlockNbtComponent.LocalPos with the given values.left - the left valueup - the up valueforwards - the forwards valuedefault @NonNull BlockNbtComponent.Builder worldPos(BlockNbtComponent.WorldPos.Coordinate x, BlockNbtComponent.WorldPos.Coordinate y, BlockNbtComponent.WorldPos.Coordinate z)
BlockNbtComponent.WorldPos with the given coordinates.x - the x coordinatey - the y coordinatez - the z coordinatedefault @NonNull BlockNbtComponent.Builder absoluteWorldPos(int x, int y, int z)
BlockNbtComponent.WorldPos with the given coordinates.x - the x coordinatey - the y coordinatez - the z coordinatedefault @NonNull BlockNbtComponent.Builder relativeWorldPos(int x, int y, int z)
BlockNbtComponent.WorldPos with the given coordinates.x - the x coordinatey - the y coordinatez - the z coordinate