(Created page with "User:Blob test page") |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[ | test page | ||
<div class="treeview"> | |||
* {{nbt|compound}} The root object. | |||
**{{nbt|compound|pack}}: Holds the data pack information. | |||
***{{nbt|string}}{{nbt|list}}{{nbt|compound|description}}: A [[Raw_JSON_text_format|JSON text]] that appears when hovering over the data pack's name in the list given by the {{code|/datapack list}} command, or when viewing the pack in the Create World screen. | |||
*** {{nbt|int|pack_format}}: Pack version. If this number does not match the current required number, the data pack displays a warning and requires additional confirmation to load the pack. See [[#Pack format]] for a full list of pack format numbers. | |||
** {{nbt|compound|filter}}: Section for filtering out files from data packs applied below this one. Any file that matches one of the patterns inside {{mono|block}} will be treated as if it was not present in the pack at all. | |||
*** {{nbt|list|block}}: List of patterns | |||
****{{nbt|compound}} | |||
*****{{nbt|string|namespace}}: A [https://en.wikipedia.org/wiki/Regular_expression regular expression] for the namespace of files to be filtered out. If unspecified, it applies to every namespace. | |||
*****{{nbt|string|path}}: A [https://en.wikipedia.org/wiki/Regular_expression regular expression] for the paths of files to be filtered out. If unspecified, it applies to every file. | |||
</div> |
Latest revision as of 10:13, 28 June 2023
test page
- Template:Nbt The root object.
- Template:Nbt: Holds the data pack information.
- Template:NbtTemplate:NbtTemplate:Nbt: A JSON text that appears when hovering over the data pack's name in the list given by the Template:Code command, or when viewing the pack in the Create World screen.
- Template:Nbt: Pack version. If this number does not match the current required number, the data pack displays a warning and requires additional confirmation to load the pack. See #Pack format for a full list of pack format numbers.
- Template:Nbt: Section for filtering out files from data packs applied below this one. Any file that matches one of the patterns inside Template:Mono will be treated as if it was not present in the pack at all.
- Template:Nbt: List of patterns
- Template:Nbt
- Template:Nbt: A regular expression for the namespace of files to be filtered out. If unspecified, it applies to every namespace.
- Template:Nbt: A regular expression for the paths of files to be filtered out. If unspecified, it applies to every file.
- Template:Nbt
- Template:Nbt: List of patterns
- Template:Nbt: Holds the data pack information.