Every time I make a new release of Bok’s Banging Butterflies, I have to manually upload it to multiple sites. While this doesn’t take too long to do, it is tedious and repetitive, especially now I’m updating the mod more frequently.
Development
Writing about software development.
Better Butterfly Landings
One feature that’s bugged me (pun intended) for a while in Bok’s Banging Butterflies is how butterflies only ever land on the tops of blocks. In real life, butterflies and moths land wherever they please. They’ll land on walls or ceilings, completely ignoring gravity like tiny winged rebels.
Immutable Butterfly Scrolls
The butterfly mod is full of bugs, and not always the good kind. This week another bug was reported about Butterfly Scrolls changing after an update. This was a weird one to solve, and unfortunately the fix will only work for scrolls placed in future versions of the mod.
Hummingbird Moth Variants
This week I decided to add a bit of variety to the Hummingbird Moth. There are actually multiple different species of Hummingbird Moth, and I wanted to represent this in the mod by adding a few different varieties.
The Inedible Crow Butterfly
I set out to have an easy week by adding a new butterfly. However, as ideas flowed in, this butterfly became a little more complex to implement. The result is a new butterfly with a unique ability that enables it to survive for longer.
The Copycat of Butterflies
This week was supposed to be a simple implementation of a new butterfly. However, I ended up going off on a couple of tangents, fixing a few issues with the code here and there. Ultimately though, the Common Mime Butterfly is the latest addition to Bok’s Banging Butterflies.
Fixing Bugs on the Backlog
This week I work through and fix several bugs that have been on the backlog for a while. With this I now have a much more stable code base that I can build upon when implementing new features.
Fixing Lepidopterist Trades
Porting and maintaining multiple versions of a mod can be a lot of work. Sometimes things slip through the cracks. One of those things were the Lepidopterist’s trade offers. I didn’t notice until after release that the Lepidopterist wasn’t offering all the trades they were supposed to.
A Butterfly Spawn Category
One problem that’s been around since the mod’s inception is that butterfly spawns take away from other animal spawns. That means fewer cows, sheep, rabbits, and so on in any Minecraft game with Bok’s Banging Butterflies installed. And as more butterfly species were added, the problem only got worse.
Porting to 1.21.4: Stage 4
In my porting adventure, I was almost there. I could load the game and create a new world. That didn’t mean that I was ready to release, however. Next came the laborious task of testing (almost) every feature in the mod to ensure that they still work.