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

Abstract Operations

Json <-> NBT interchange library

Загрузки
9K
Подписчики
2
Обновлён
22 апреля 2025 г.
Лицензия
WTFPL

Опубликован 26 ноября 2024 г.

a library for easy and lossless interchange between JSON and NBT.

provides a class GenericX for each NbtX (GenericCompound extends HashMap, GenericList extends ArrayList), each supporting functions json()l, nbt(), and map(func) allowing conversion or tree mapping.

supplies a DynamicOps instance (GenericOps) made for easy conversion from json and nbt to generic, with flags to patch the formats to allow lossless conversion. with patchjson enabled, number sizes can be specified in-json by providing a string eg "10b" in the same format as snbt number tags, and lists of numbers are automatically translated to number arrays. patchnbt translates bytes 0-1 into booleans.

versions 1.1.0 and higher also provide explicit support for wispforest's Endec library

reference source for details!

Центр версий

8 версий
  • Релиз65 КБ
  • Релиз64 КБ
  • Релиз63 КБ
  • Релиз62 КБ
  • Релиз42 КБ
  • Релиз42 КБ
  • Релиз42 КБ
  • Релиз42 КБ

Ченджлог

1.2.1+1.21.1Релиз1.21, 1.21.1 · 22 апреля 2025 г.
  • update to latest endec
  • use connectormod as sinytra neoforge dep modid
1.2.0+1.21.1Релиз1.21, 1.21.1 · 25 марта 2025 г.
  • add math methods to genericnumbers
1.1.1+1.21.1Релиз1.21.1 · 21 февраля 2025 г.

yeah ig this does actually need connector, for mapping translations

1.1.0+1.21.1Релиз1.21, 1.21.1 · 17 февраля 2025 г.

added explicit compat with wispforest's Endec library

1.0.3+1.21.1Релиз1.21.1 · 16 февраля 2025 г.

actually make 1.21.1 work, ig you need to recompile shit for no reason. thanks java

1.0.2+1.20.1Релиз1.20.1 · 2 декабря 2024 г.
  • proper sinytra support
  • test on 1.21 as well
1.0.1+1.20.1Релиз1.20.1 · 28 ноября 2024 г.

add explicit modmenu compat

1.0.0+1.20.1Релиз1.20.1 · 26 ноября 2024 г.

initial release

Комментарии

Загружаем…