Climatic Plants - a Minecraft mod banner

Climatic Plants - a Minecraft mod

1 devlogs
5h 59m 15s

Ever wondered why Minecraft’s plants can grow literally everywhere? Well, me too. Climatic Plants change this, so that if a plant (sapling, crop, literally anything) is planted in wrong climate, it either dies, or its growth is significantly slower. The goal of the project is to make a mod that will be in a “vanilla+” style and compatible as much as possible with other mods.

This project uses AI

I used ChatGPT to help me design some systems and mixins

Demo Repository

Loading README...

gotitim

I’ve already had a mod that was based on values stored in config, but… how to automatically generate them? Does Minecraft know what climate is actually good for a plant?

It seems that many plants can be automatically generated from placed features. I registered a listener at server start that iterates through all the biomes, their placed features and stores total climate information of all the biomes which can generate a feature.

Now, there is a problem - many plants have multiple configured features, for example an oak has 7 of them! So after I gather information about the configured features, it’s time to get the blocks from them. That wasn’t difficult - just a few access wideners and you can get them from the SaplingBlock class.

The next day of work will probably involve implementing support for more types of plants and make the mod even more universal! Right now I don’t have many pictures, so check out this climate report!

Attachment
0