Being able to program in multiple languages is a useful skill to have, but you have to remember that things don’t always work the way you would expect. I’ve recently come to realise that my Java code has suffered due to a fundamental misunderstanding in how it works.
Java
A language sometimes used to write games.
Moving the Config Options
Modpack authors are always on the hunt for ways to optimize performance, and that means giving them the right configuration options. A recent bug report revealed I’d made those options impossible to find in Bok’s Banging Butterflies.
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.
Rendering Debug Information
The landing animations are still a bit unreliable. All too often when testing Bok’s Banging Butterflies I still see landed butterflies flapping their wings.
The Amazing Hummingbird Moth
One night in Siem Reap I saw what I thought was a hummingbird buzzing around some flowers. I got close to it and it was a strange sight. It zipped from flower to flower, its wings humming like a small bird.
Handling and Preventing Errors
Mistakes are an inevitable part of coding, and debugging is where the real problem-solving begins. This will inevitably lead to bugs. When you notice a bug you will, of course, spend some time figuring out what went wrong. There are two ways to tackle these bugs: detection and prevention.
Green Skirt Baron Butterfly
Variety is what brings a mod to life, and with every new butterfly, Bok’s Banging Butterflies grows more vibrant. On a recent trip along the Monk’s Trail in Chiang Mai, I spotted an uncommon butterfly known as the Green Skirt Baron.
Creating a Butterfly Golem
A while ago there was a thread by Sushifox on PlanetMinecraft offering to create “adaptamobs”. Based on an earlier thread about digital pets, an adaptamob is simply one of 6 types of mobs represented in 2D, but with a specific theme applied to it.
Bits and Bobs. And Sherds
This week I worked on a lot of small tasks. Some new features, a bugfix or two, some minor tweaks, and butterfly sherds. It’s nice to work on small things sometimes. It feels like you’ve achieved a lot more than usual.
