介绍
Attach data to block positions.
WARNING! THIS LIBRARY IS IN BETA. Issues might be present. Report any issues to https://github.com/ansquare-eu/simple-block-data/issues
Usage:
Enter into build.gradle. The latest version is v1.0.4
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
modApi include("com.github.ansquare-eu:simple-block-data:{version}")
}
Use BlockDataApi.set and .get methods to manipulate data at a BlockPos in a World.
Code example:
boolean bool = BlockDataApi.getBoolean(pos, world, "key");
BlockDataApi.setBoolean(pos, world, "key", false);
常见问题
Simple block data 支持哪些 Minecraft 版本?
Simple block data 支持 Minecraft Java 版 1.20.1–1.20.4,共 2 个版本,可用的加载器:Quilt。下载时注意选择和你游戏版本一致的文件。
Simple block data 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
farpo 的其他作品
查看全部 →Rift Realms Utility
A utility mod for the Rift Realms server
Create: Aloft
An engineering-first Modpack built around Create Aeronautics.
Riftname
Style names on servers - Player-set nicknames, prefixes, colors, gradients and more
Era of Rails
A railway expansion mod! Adds new minecart and rail types to make rail travel more efficient and fun
评论
登录后评论和评分