User Tools

Site Tools


tutorial:primer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:primer [2022/10/19 22:36] – created miirtutorial:primer [2022/12/22 16:44] – transform bullet points in "prerequisites" section into actual bullets basil4088
Line 1: Line 1:
-====== Minecraft Modding Primer (DRAFT) ======+====== Minecraft Modding Primer ======
  
 //Note: This primer assumes no prior experience modding Minecraft. However, you will need to have a firm grasp on programming in Java to work with Minecraft (see the Prerequisites section). If you are coming to Fabric from another modloader, like Forge, the [[introduction]] will probably be more at your level.// //Note: This primer assumes no prior experience modding Minecraft. However, you will need to have a firm grasp on programming in Java to work with Minecraft (see the Prerequisites section). If you are coming to Fabric from another modloader, like Forge, the [[introduction]] will probably be more at your level.//
  
-===== Prerequisites for Minecraft Modding ===== 
  
--You must understand the basics of coding. If you have never touched code before, you must learn how to code first. "The basics" here means having a firm grasp on variables, functions, classes and methods, and object-oriented programming concepts like inheritance, polymorphism, and object casting. Your search engine is your friend!+This document is meant to serve as an introduction to modding for anyone who doesn't know a ''BlockPos'' from a ''BlockState''. If you have experience with datapacks and want to take your skills to the next levelor you are learning to program in object-oriented languages and want a fun project to help you along, this is the document for you. First, let's start with what you need to know beforehand:
  
--You should have some experience in a programming language like Java or C/C++/C#. Java's syntax is relatively simple to pick up for someone coming from the C family. +===== Prerequisites for Minecraft Modding =====
- +
--Familiarity with Java's syntax for lambda methods, generics (you should know what these are), and syntactic sugar like the ternary operator will be very helpful-- but this is something that a quick learner can pick up along the way.+
  
--You must know how to use the Internet to find answers to questions, and etiquette for asking for help on forums.+  * You must understand the basics of coding. If you have never touched code before, you must learn how to code first. "The basics" here means having a firm grasp on variables, functions, classes and methods, and object-oriented programming concepts like inheritance, polymorphism, and object casting. Your search engine is your friend! 
 +  * You should have some experience in a programming language like Java or C/C++/C#. Java's syntax is relatively simple to pick up for someone coming from the C family. 
 +  * Familiarity with Java's syntax for lambda methods, generics (you should know what these are), and syntactic sugar like the ternary operator will be very helpful-- but this is something that a quick learner can pick up along the way. 
 +  * You must know how to use the Internet to find answers to questions, and etiquette for asking for help on forums.
  
 ===== What is Modding? ===== ===== What is Modding? =====
tutorial/primer.txt · Last modified: 2023/03/03 18:08 by miir