I noticed a problem when testing some refactors and new features last week. Buckeye Butterflies would die if they landed on Melons. Obviously this wasn’t intended – the extra landing blocks are meant to be where Butterflies thrive, not where they die.
Minecraft Modding
Tutorials on how to create new things in Minecraft
Refactoring Butterfly Behaviour
I’ve spent much of this week refactoring butterfly behaviour, improving their AI and optimising the Butterfly Data. I’m aiming to have a better foundation before adding new features, and to solve a few of the issues I’ve had when adding new butterflies in the past.
Feeding Orizaba Silkmoths
This week I’ve added the Orizoba Silkmoth, followers of the End’s Ītzpāpālōtl. These moths like cocoa beans and can be used to create silk. In order to get the feeding mechanic to work, I’ve had to refactor some of the Goals I wrote a long time ago.
Guided by the Advancements
Advancements are a useful tool for game developers for two reasons. First, they provide a reward for players who achieve great things in the game. And second, they can act as a hidden tutorial for players, informing them of features they may not be aware of.
In The End There Are Butterflies
This week I go back to basics and simply add a new butterfly. And with this release I bring butterflies to a new dimension! Natives to the End, the Ītzpāpālōtl are the rulers of the Orizaba Silkmoths. Seek them out but be wary, for they are not easy to find.
Java References Confuse Me
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.
The Pains of Porting Mods
Often people wonder why mods don’t always get updated for newer versions of Minecraft. The simple answer is that it’s hard and time consuming. Minecraft’s underlying code gets rewritten a lot, and a mod’s code for one version often needs to be vastly different to code for another version.
The Pain of Data Generation
Last week I updated Bok’s Banging Butterflies to use Forge’s native data generation code. At first it all seemed to be going well. But this week I started porting the code to other versions and I’m starting to hit walls.
The Joy of Data Generation
A while ago I was talking about my Python-based data generation in the NeoForge Discord, when someone asked me why I didn’t use Forge’s data generation instead? The answer was simple: I didn’t know about it.
Work in Progress: Datagen
I’ve been working hard on a refactor this week, switching from my custom-made Python generation to Forge’s own data generation system. This is another one of those things I’ve been doing wrong since the beginning, and I’m finally getting around to correcting that mistake.
