Skip to content
MixedList

Quick rating

Community listing page, reviews may not be monitored by the author.

MixedList

By ErrorCraftOwner

No reviews yet

A mod that allows you to use mixed types in SNBT lists.

Mod Loaders
Minecraft

About

Description

This is a mod that allows you to use mixed types in SNBT lists and converts them appropriately. All of this is still compatible with the existing NBT specification, which only allows one type in lists. Converting NBT back to SNBT also supports multiple types in lists, which is visible in for example the /data get command.

Examples:

[
  "part 1, ",
  {
    text: "part 2, ",
    color: "red"
  },
  "part 3"
]
[
  true,
  123,
  "a real string",
  {
    maps: "ftw"
  },
  [
    "remove nbt",
    "but not this list"
  ]
]