Compatibility
Minecraft: Java Edition
1.21–1.21.9
1.20.x
1.19–1.19.3
Platforms
Creators
Details
Changelog
- Adds a new type of configuration for prefixes, 'layout'
Layout (layout
)
This is a list of strings. Each string will be a new line in the item's lore. If this is provided and is not empty, this will overwrite the default layout of the prefix item. Each item will have their own unique layout. Layout Placeholders:
<prefix_id>
- The prefix's ID as listed in prefixes.yml.<prefix>
- The prefix itself.<unlocked>
- The Unlocked / Locked text. This defaults to[]
(Empty List).
Example
custom_layout:
display-name: "<green>Fancy Layouts!</green>"
description:
- "This section is effectively ignored with custom layouts."
prefix: "<white>[<green>LAYOUTS</green>]</white>"
layout:
- "<blue>Prefix ID:</blue> <prefix_id>"
- "It looks like this: <prefix>"
- "<gray> → I snuck this in here, how weird!"
- "<yellow>Unlock State:<yellow> <unlocked>"
- "<blue>Line 1 Description"
- "Line 2 Description"
- "<red>Line 3 Description"
- " "
- "<green>Hi I wanted to skip another line."