[Java] [Java] Create Minecraft Mod 1.14.4 [Extra]

2 minute read

(This article is one of a series of commentary articles)

First article: Introduction

Reference site

・Minecraft Forge Forums User forum. See below. ・Forge Documentation It’s official documentation, so I put it on for the time being, but honestly it’s not very helpful in terms of implementation. Of course, it’s written right, and it helps to understand the concept. ・Minecraft Forge Modding Table of Contents Qiita article. Japanese. Most of this article was referred to in writing this article. First of all, you can just copy and paste them, so it’s a good idea to go all the way to see what you can do. Memorandum of beginner modder [1.12/1.15] Personal blog. Japanese. Tutorial-like contents are written with code. Note the version difference. ・Jabelar’s Minecraft Forge Modding Tutorials [1.12] Personal site. English. Detailed implementation guidelines. Code is for reference only. Note the version difference. ・CurseForge The mainstream (?) Mod distribution center these days. Most mods have their source code published on github, so it is very useful to see the source code of a certain popular mod. ・Other Actually, there are quite a few tutorial videos on youtube. Search for “minecraft modding 1.14” etc. I’m not good at video-based, so I omitted it this time, but it’s a good idea to watch it if necessary.

Tips for solving problems

Ask vanilla code if you don’t understand (important)

I think there may be a situation where the number of tabs on the reference site that looks like a browser grows infinitely, but the problem is never solved. I’m confused about which version is right for me by comparing different versions and different people’s writing styles. The first thing to say when you say that is to go to see the vanilla code. Most things can be written with vanilla extensions. Programmatically it is inheritance. I think that if you can do this, your understanding will deepen dramatically.

**And where is that? ** → project -> external project -> Gradle:net.minecraft.forge:VERSION -> forge-VERSION-recomp.jar

How to google

I don’t think it’s necessary to write it, but it’s supposed to be a beginner. Basically, “minecraft forge” (English) For example, if you want to add a tree, “custom (target)” such as “minecraft forge custom tree” “minecraft forge how to add tree” is easy to hit. When things that shouldn’t be like this don’t happen, don’t worry about grammar and just say “(target) not (verb prototype)” “tree not generate” “leaves not decay” I want to specify the version, but since there are few materials, I think that it is better to try looking at other versions and imitate it (though it often fits in a trap)

If you google a few times, you’ll find that it’s usually Forge User Forum.Soyoucansearchherefromthebeginning.Useanexactmatchsearch(searchfor”customtree”insteadof”customtree”). Due to the nature of the forums, there are quite a few issues that can be found. However, many threads are closed without any reference, so don’t expect too much.