Butterfly nets can only hold one butterfly at a time, and we can’t do anything with them once caught. We will add a new way to interact with them: moving them to jars so they can be put on display.
Minecraft
The biggest selling video game of all time.
How to Upgrade a Forge Mod
Minecraft version 1.20.1 has been out for a while now, and a stable version of Forge has been released for it. So it’s time to update our mod to run in the latest version of Minecraft.
Butterfly Nets: Gotta Catch ‘Em All
I mentioned in my last article that I wanted to add a collectible element to my butterfly mod. In order to do that we need a way to catch said butterflies. So the next step is to implement a butterfly net.
Regional Variety in Butterflies
Adding new textures to our implementation of butterflies is an easy way to add variety. However, we can strive to do better. Our ultimate goal is to have achievements for catching all butterfly varieties, but this becomes too easy when butterflies of all varieties can spawn anywhere.
Butterflies Part 2: The Rest of the @!#$ Owl
In Part 1 we coded a butterfly entity. Now we need to put the rest of the pieces together, so we can model, render, register, and ultimately spawn butterflies in our Minecraft world!
Model
Every entity needs a model.
Butterflies Part 1: Entities
I’m developing my own version of a Butterfly mod for Minecraft. Naturally, one of the first features I want to implement are the butterflies themselves.
Modding Minecraft: Getting Started
The Forge website has a quick guide to getting started with modding. I’m just getting back into it, so I thought I’d walk through the steps to get a project set up with Forge.
Data Driven Donuts
I wrote an article recently about my initial attempts to data drive Minecraft. Since then I’ve made a lot of progress with the system. I can create block items, spawn eggs, armor, tools, and food. I’ve added a spell system and can now attach spells to items.
Data Driving Minecraft
One thing that’s been bugging me about modding for Minecraft is how much code you need to define data. I decided to see if it’s possible to data drive item creation with Forge.
Setting up a Development Environment for Forge Modding
Note: Since I have a Windows machine this tutorial will focus on that platform.
Java Development Kit
You will need the JDK to develop in Java. You can get the latest JDK at the Oracle website.