Stage 1 of porting a mod to a new version is to get the thing compiling. Once this is done you can move on to getting the game to launch, managing to create a world, and then a wealth of tests to ensure all the features work.
Bok’s Banging Butterflies
My first real mod for Minecraft that adds butterflies to the world.
A Fix That I Did Not Like
Sometimes you will find a problem and not be able to work out the actual cause of the problem. No matter how much you debug or trawl through code and documentation you cannot find a reason for a bug.
How Many Butterflies is Too Many?
How many butterflies should there be in the world? Too few, and players will barely see them. Too many, and they’ll overrun everything. This has been a challenge since the start of this mod, and as one player recently pointed out, I may have gone too far in limiting them.
Butterly Wings Flap to Pi
It’s Pi Day, and to celebrate I thought I’d write a small article on Pi (π). While I’m not a mathematician or a physicist, π does still crop up in game development. So here’s a small example of how I use π to create great looking butterflies.
Fixing An Exceptional Bug
No matter how much you test a mod you will always miss something. This time it was a crash that I couldn’t reproduce, nor could I find the cause for.
Updating to NeoForge 1.21.1
It’s been a long time coming, but I’ve finally gotten around to it. Bok’s Banging Butterflies now supports NeoForge 1.21.1. This means you can add butterflies to a Minecraft world that has almost all of the latest features in Minecraft. It wasn’t easy.
How to Report a (Butterfly) Bug
Bug reports help modders fix issues and improve their mods. Whether your game crashes, an item behaves incorrectly, or something just seems off, reporting the issue properly ensures it gets fixed faster. This guide explains how to write an effective bug report.
Porting Things to the Past
A while ago someone asked me to port Bok’s Banging Butterflies to 1.18.2. I made an attempt and failed due to the numerous changes in the code between Minecraft versions. This week I decided to take another look at it, determined to actually create a build that would work.
A New Way to Study Butterflies
Last week I started working on the Butterfly Microscope, a block that would allow players to learn more about butterflies and craft butterfly books. This week I finished implementing it, and made a new release so people can play with new block already.
A New Butterfly Microscope
This week I’ve been working on a new block that should help fix the issues with crafting a Butterfly Book. The new block will allow players to learn about butterflies without having to craft the book, but it will also allow players to add and remove pages to Butterfly Books.