PositionBuilder

使用资源包空格字体构造水平像素位移。 Builds horizontal pixel spacing with Xerr's resource-pack space font.

Functions

Link copied to clipboard
fun build(x: Int): ComponentText

返回移动 x 像素的文本组件。 / Returns a component that moves x pixels horizontally.

Link copied to clipboard

返回移动 x 像素的原始字符串;x = 0 时返回空串。 Returns a raw horizontal offset; an offset of zero returns an empty string.