百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

Forge1.8.9Template

> 编程语言
开源

基于 Architectury Loom 的 1.8.9 forge 模块模板 其他模板请查看此仓库的其他分支 使用方法 请查看 o…

195 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

基于 Architectury Loom 的 1.8.9 forge 模块模板 其他模板请查看此仓库的其他分支 使用方法 请查看 o…

Architectury Loom based template for 1.8.9 forge mods

For other templates, do check out the other branches of this repository

Usage

Check out https://moddev.nea.moe/ for a full tutorial on legacy modding.

Alternatively, read here for a basic overview on how to use this repository.

To get started, Use this template.

[!WARNING] Do not Fork or Clone or Download ZIP this template. If you "use" this template a custom mod id will be generated. You can do that manually using the make-my-own script, if you are on linux. If not, just click the use this template button. If you want to use kotlin or make a 1.12 mod check the "Include all branches" and change the default branch in https://github.com/yourname/yourreponame/branches

This project uses DevAuth per default, so you can log in using your real minecraft account. If you don't need that, you can remove it from the buildscript.

To run the mod you will need two JDKs, one Java 17 jdk and one Java 1.8 jdk. You can download those from here (or use your own downloads).

When you import your project into IntelliJ, you need to set the gradle jvm to the Java 17 JDK in the gradle tab, and the Project SDK to the Java 1.8 JDK. Then click on the sync button in IntelliJ, and it should create a run task called Minecraft Client. If it doesn't then try relaunching your IntelliJ. Warning for Mac users: You might have to remove the -XStartOnFirstThread vm argument from your run configuration. In the future, that should be handled by the plugin, but for now you'll probably have to do that manually.

To export your project, run the gradle build task, and give other people the file build/libs/-.jar. Ignore the jars in the build/badjars folder. Those are intermediary jars that are used by the build system but do not work in a normal forge installation.

If you don't want mixins (which allow for modifying vanilla code), then you can remove the references to mixins from the build.gradle.kts at the lines specified with comments and the com.example.mixin package.

If you don't want access transformers (which allow for making methods public/non-final) you can delete the accesstransformer.cfg file. If you make a change to the accesstransformers.cfg you might need to rebuild your project using ./gradlew build --refresh-dependencies.

For those who have not an attention span

Licensing

This template is licensed under the Unlicense (license copy present in this repository), or alternatively under Creative Commons 1.0 Universal (CC0 1.0), and all contributions and PR to this template are expected to follow this. This means your mod, based on this template can be licensed whatever way you want, and does not need to reference back to this template in any way.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言