Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Modding By Kaupenjoe: Fabric Modding for Minecraft 1.18.1
Rating: 4.8 out of 5(187 ratings)
856 students

Modding By Kaupenjoe: Fabric Modding for Minecraft 1.18.1

Learn Minecraft Modding with Fabric and Java. Beginner Friendly Introduction to Java and Minecraft Modding with Fabric!
Last updated 7/2022
English
English [Auto],

What you'll learn

  • Learn to independently program in Java
  • Learn the Basic Java Skills necessary to make a Minecraft Mod!
  • The Basics of Minecraft Modding in Fabric
  • Everything from making your first Item to creating Tools and custom Armor
  • Including a comprehensive Explanation of Mixins

Course content

11 sections110 lectures14h 56m total length
  • Installation & Download5:52

    Install JDK 16 Tamarind from Adopt, use the 64-bit MSI installer, install IntelliJ IDEA Community Edition, and set up a new Java project with net.yourname packages and a main class.

  • Datatypes8:11

    Explore data types in Java for Minecraft modding. Learn how integers, floats, doubles, booleans, characters, strings, and null values are stored and used, with attention to precision and ranges.

  • Java Syntax5:42

    Master Java syntax basics by reading code top to bottom, declaring and initializing variables, and using the dot operator to access string methods, while noting semicolons and comments.

  • Output & Input7:28

    Learn to output to the console and read user input in Java, using System.out.println, string literals, variables, and a Scanner to capture a username.

  • Errors & How to Deal with them6:41

    Learn to read and fix common Java errors in Minecraft modding, identify symbols and null pointer exceptions from stack traces, and seek help with complete error logs and line references.

  • Integers, Arithmetic & Math Methods6:23

    Explore integers and arithmetic in Java modding, covering addition, subtraction, multiplication, division, and the modulo remainder, with examples using x=100 and y=20, plus using Math methods like max and abs.

  • Assignment Operators4:40

    Explore assignment operators in Java for Minecraft modding, including =, +=, -=, *=, /=, %=, and the increment and decrement ++/-- to modify variables efficiently.

  • Booleans & Comparison Operators7:02

    Learn booleans and comparison operators in Java by exploring true or false values, score thresholds like 50, negation with !, and how equals and greater-or-equal checks work.

  • Booleans & Logical Operators3:30

    Learn booleans and the core logical operators: and, or, and not. See how two booleans produce true or false with concrete examples like finishing a course or being a fan.

  • If and Else Statements6:52

    Master if and else statements in Java by building a program that reads two exam scores, evaluates pass/fail for each, and prints results, including a final class outcome.

  • Switch Statement4:08

    Explore the switch statement in Java, its case blocks, the break to prevent fall-through, and the default case, with guidance against using floats.

  • Trivia Game #1
  • Strings & String Methods9:41

    Explore strings and string methods in Java for Minecraft modding, including length, case conversions, replace, check starts and ends, contains, index, empty checks, and substrings.

  • Casting3:49

    Explore casting in Java by converting data types between int and float to compute interest, differentiate implicit and explicit casts, and understand truncation and its effects on calculations.

  • Ternary Operator4:13

    Explore the ternary operator in Java with a simple exam-based gift example, compare it to if statements, and emphasize readability over compactness in modding code.

  • Arrays Explained9:09

    Explore arrays in java by building string arrays for questions and answers, learning zero-based indexing, length, and common errors like index out of bounds, with practical printing examples.

  • For and While Loops8:55

    Explore for loops, while loops, and for each loops in Java to iterate over arrays, access questions and answers by index, and understand break and continue flow control.

  • Java Methods10:14

    Explore Java methods for Minecraft modding: define and call methods, understand signatures, parameters, overloading, returning values, and practical examples like outputting questions and answers.

  • Updating the Trivia Game with Methods
  • Java Collections16:43

    Explore Java collections for Minecraft modding, focusing on lists, maps, and sets; learn to add, remove, access elements, and use generics with wrapper classes.

  • Java Object Oriented Programming Explained7:37

    Learn the basics of object oriented programming, including classes, objects, methods, fields, and members. Explore inheritance with super classes and subclasses, and how objects are instances of a class template.

  • Java Classes and Objects9:20

    Learn to create a custom class and objects in Java, using a dog example with fields and methods, the new keyword, constructors, and this for field assignment.

  • Access Modifiers7:42

    Explore access modifiers like public, protected, and private, and learn static and final modifiers. Generate getters and setters, and compute age in human years using a dog to human multiplier.

  • Inheritance & Polymorphism10:50

    Explains inheritance by creating an animal superclass for dog and cat, using extends, overrides, and constructors; demonstrates polymorphism with animal references calling overridden sounds.

  • Interfaces & Abstract Classes5:52

    Explore abstract classes and interfaces, learn how to declare abstract methods, implement them in subclasses, and leverage multiple interfaces for flexible, polymorphic design in Java.

  • Updating Trivia Game with Classes
  • Bank Management Program
  • Anonymous Classes2:44

    Learn how anonymous classes extend a base class and override methods, illustrated by a person and a manager variation to customize getFullName in Fabric modding for Minecraft 1.18.1.

  • Enums & Advanced Enums3:00

    Explore enums and advanced enums in Java, defining a difficulty enum (easy, medium, hard) and using constructors and fields to attach data for Minecraft tools.

  • Exceptions & Try and Catch5:14

    Explore creating and throwing custom exceptions in a Minecraft modding context using a try and catch block to handle errors and reveal finally behavior.

  • Java Lambda Expressions3:24

    Explore basics of Java lambda expressions and how they act as variables holding functions. Learn five core types: supplier, consumer, runnable, callable, and function and their parameters and returns.

  • Java Generics3:37

    Explore Java generics by building a generic class with type placeholders, constraints, and wildcards, while adding constructors and setters for Minecraft modding projects.

Requirements

  • A Computer
  • Some knowledge of Minecraft and its Modding Community
  • Basic Computer skills (like downloading a program of the web)
  • No programming experience needed.

Description

Minecraft! It is the most popular game of all time and Minecraft Modding is back in everyone's mouth! Some Minecraft Mods have become so popular that everyone knows them. The Minecraft Modding Community keeps growing every day and it's a great and creative outlet!

This course will teach you how to make your own Minecraft Mod! Not only will you learn the programming language Java but also how to effectively use the Minecraft Modding API Fabric.

For absolutely beginners, I have added a Java Introduction for you, so even with no experience in programming you can start making Minecraft Mods by first going through the Java Introduction! 

In the Basics Concepts part of the course, you will learn how to add Items, Blocks, custom recipes, tool to Minecraft! The Intermediate Concepts is where you'll really pick up some amazing skill needed for proper Minecraft Modding with Fabric! We're gonna talk about BlockStates and NBT Data, add custom crops and see how you can add custom block models to Minecraft!

But that's not all! Toward the end of the course, we cover advanced topics such as Block Entities, Custom Recipe Types and even Ore Generation amongst others.

With a bit of creativity and applying the lessons you get from this course, you might just make the next Minecraft Mod hit! 

This course is accessible to complete beginners. Even if you have never programmed in your life! The only requirement is that you own Minecraft and are vaguely familiar with the Game and some popular Minecraft Mods or even Minecraft Modpacks.

Exercise files and the entire Source Code will be available so you can follow along with everything I do in the videos.

If you have any questions or suggestions, also feel free to contact me here. I'm happy to help you learn to code in Java and make your own Minecraft Mod with Fabric.

NOTICE: NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.

Who this course is for:

  • Complete Beginners wishing to learn Java!
  • Beginners that want to create their first Minecraft Mod and don't know where to start
  • Forge Veterans wanting to switch or port their Minecraft Mod to Fabric