Sprache

Abstract Operations

Abstract Operations

Modrinth

Json <-> NBT interchange library

9.0k Downloads 2 Follower aktualisiert 14mo ago
neueste v1.2.1+1.21.1 Modrinth
Fabric Forge Neoforge Quilt 1.20.1 – 1.21.1 Library

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!

Versionen

Release
1.2.1+1.21.1
fabric, neoforge, quilt · 1.21, 1.21.1 · 14mo ago
* update to latest endec * use `connectormod` as sinytra neoforge dep modid
159
Release
1.2.0+1.21.1
fabric, neoforge, quilt · 1.21, 1.21.1 · 15mo ago
* add math methods to genericnumbers
55
Release
1.1.1+1.21.1
fabric, neoforge, quilt · 1.21.1 · 16mo ago
yeah ig this does actually need connector, for mapping translations
94
Release
1.1.0+1.21.1
fabric, neoforge, quilt · 1.21, 1.21.1 · 16mo ago
added explicit compat with wispforest's Endec library
48
Release
1.0.3+1.21.1
fabric, neoforge, quilt · 1.21.1 · 16mo ago
actually make 1.21.1 work, ig you need to recompile shit for no reason. thanks java
54
Release
1.0.2+1.20.1
fabric, forge, neoforge · 1.20.1 · 18mo ago
* proper sinytra support * test on 1.21 as well
8.5k
Release
1.0.1+1.20.1
fabric, quilt · 1.20.1 · 18mo ago
add explicit modmenu compat
65
Release
1.0.0+1.20.1
fabric, quilt · 1.20.1 · 19mo ago
initial release
68

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.