decoration
fun decoration(decoration: Decorated, offsetX: Int = 0, offsetY: Int = 0): ConfigEntry.ContentBuilder
Applies a decoration to this entry.
Return
this builder
Author
fzzyhmstrs
Since
0.6.0
Parameters
decoration
Decorated deco to render. TextureDeco has some builtin options.
offset X
horizontal offset for rendering. Many standard decos need 2 pixels of offset, as they are 16x and this area is 20x
offset Y
vertical offset for rendering. Many standard decos need 2 pixels of offset, as they are 16x and this area is 20x