跳到正文

Abstract Operations

Json NBT interchange 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!

常见问题

Abstract Operations 支持哪些 Minecraft 版本?

Abstract Operations 支持 Minecraft Java 版 1.20.1–1.21.1,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Abstract Operations 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

queenofthebees 的其他作品

查看全部 →