Перейти к содержимому
Mineforgian

MixedList

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

Загрузки
88
Подписчики
0
Обновлён
8 января 2025 г.
Лицензия
MIT

Опубликован 8 января 2025 г.

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"
  ]
]

Ченджлог

1.0.0Релиз1.21.4, 25w02a, 25w03a · 8 января 2025 г.

Initial release. Also works for 25w02a as it's the main target release, but that version does not exist yet on Modrinth. Version is added.

Комментарии

Загружаем…