Skip to main content

References

Template

NameTypeDescription
widthIntegerWidth in minecraft blocks
heightIntegerHeight in minecraft blocks
idStringUnique identifier, see id
nameStringName of the sign
packObjectInformation about the resourcepack
pack.idStringId of the resource pack
pack.nameStringName of the resource pack
category"TEMPLATE" | "PART" | "CUSTOM"TODO: Describe this.
Defaults to "CUSTOM"
authorStringAuthor of the sign
variantList<Variant>Requires at least 1 item
List of variants, see Variant

TextPosition

NameTypeDescription
xFloat
yFloat
maxWidthIntegerMaximum width of a text field.
colorIndexIntegerIndex of the "colors" field in variants. It must be within bounds.
scaleFloatScale of the written text, default: 1.0
alignment"LEFT", "CENTER", "RIGHT"Optional. Text alignment across the field
Defaults to "LEFT"

Variant

NameTypeDescription
nameStringName of the texture variant
frontStringLocation within the resource pack of the front texture
backStringLocation within the resource pack of the back texture
colorsList<Integer>Each entry is a decimal representation of a color, these can be referenced by textPositions to set the text's color.
See https://convertingcolors.com for a quick conversion of common formats into decimal