截图
介绍
中文介绍正在准备中,下面暂时显示原文。
RadiusToolLib
Lib for creating radius tools
Adding the dependency
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
dependencies {
// Option 1: Include Ducky Updater to project for it available within your own jar (additional ~20kb)
include(modImplementation("maven.modrinth:rt-lib:<mod-version>"))
// Option 2: Depend on Ducky Updater, but require that users install it manually
modImplementation("maven.modrinth:rt-lib:<mod-version>")
}
"depends": {
"fabricloader": "*",
...
"rt-lib": "*"
},
Usage
public class ModName implements ModInitializer {
//Material //Damage&Speed //Radius
public static final RadiusPickaxe RADIUS_PICKAXE = new RadiusPickaxe(ToolMaterials.NETHERITE, 4, 1.0f, new FabricItemSettings(), 1);
// For the tool to dig 3x3 - range: 1, 5x5 - range: 2; And so on...
@Override
public void onInitialize() {
Registry.register(Registries.ITEM, new Identifier("your_mod_id", "radius_pickaxe"), RADIUS_PICKAXE);
}
}
常见问题
RadiusToolLib 支持哪些 Minecraft 版本?
RadiusToolLib 支持 Minecraft Java 版 1.19.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
RadiusToolLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
GalievDev 的其他作品
查看全部 →
Many Flowers
by hasti19, GalievDev
Discover flowers with surprising powers!
3.1万
8 个月前
Modrinth
Spawn Dimension Setter
by syorito-hatsuki, GalievDev
Resurrect yourself in another world!
7,102
1 年前
Modrinth
Multi World Borders Unofficial
by GalievDev
Makes world borders work per dimension
3,568
1 年前
Modrinth
Gods Of Olympus
by hasti19, GalievDev
Gods of the sky and sea
2,375
2 年前
Modrinth
评论
登录后评论和评分