Persistent Storage
作者:rebot | 分类:模组
Minecraft 版本: 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: fabric
标签: library storage utility
Extremely simple mod allowing the storage of variables between worlds.
Currently only client side, but could support server in the future.
Adding Data:
PersistentStorage.put(String key, Object value)PersistentStorage.putTag(String tag)
Accessing Data:
PersistentStorage.get(String key)(ReturnsJSONElement)PersistentStorage.getTag(String tag)(Returnstrueif tag has been set)PersistentStorage.getBoolean(String key)(Returnstrueif the specified key
请登录后举报
暂无评论,抢个沙发吧~