Minecraft Mod-Coding?

Gu
- in Mods
2

I want to learn Minecraft Mod Coding. I can already program plugins very well, I taught myself with the help of a book. For example, I did not see a book or a useful tutorial on mod-coding. Can anybody help me further?

Re

I can already program plugins very well…

Anyone can use an API (= interface). More important is whether you can really program. Because, you can program, then you only need to read through the relevant documentation and can get started.

I want to learn Minecraft Mod Coding.

Your goal should therefore be to learn programming more generally.

If your knowledge is not just limited to using an API, but includes the Java programming language (not just the basics), then you can take a look around here: https://mcforge.readthedocs.io

PS: The same applies to Unity. Learn to program, read the Unity Docs and practice.

St

The question is, how well can you Java? Spigot is a ready-to-use API and therefore does not require any really good programming skills, and even beginners get that relatively quickly.

Mods, on the other hand, are at the other end of the spectrum, so you have to be very knowledgeable (not only in Java) for a variety of reasons:

Minecraft is not in the least designed for change and Forge is just a drop in the ocean. It offers basic functions to change things (change registries, events) and a few little extras (Ore dictionary, Capability System), that's it.
Minecraft is not open source and the software is deliberately made illegible before publishing by a good obfuscator (all identifiers are removed, simple things are described as complex as possible, etc.). MCP recovers a fraction of the original, but that's not all.
There's no good documentation. The best you can find is a small entry. If you want to get ahead, you have to read source code and understand large amounts of source code.
For a meaningful change, sooner or later you have to understand how the game works, including more complex topics such as 3d rendering with OpenGL.

If you still want to program mods now, you have to make do with the sparse documentation that exists.