๐GrowthModifiers.yml
Configuration Guide for Growth Modifiers.
Introduction
The Realistic Plant Growth GrowthModifiers configuration file allows you to adjust the growth rate behavior of specified plants in relation to the vanilla game. By default, a growth rate of 100%
mirrors vanilla behavior. Higher rates can speed up plant growth, while lower rates can slow it down.
This guide will walk you through the process of customizing these settings to fit your gameplay preferences. The best way to do this is, by providing example configurations and explaning them in detail.
Plants not listed in the GrowthModifiers.yml
file will use the vanilla Minecraft plant growth behavior.
Growth rates above 100% (compared to vanilla Minecraft) are not supported during the BETA phase of this plugin.
GrowthModifiers File Structure
The following sections outline possible components of a plant configuration. Some of these sections are mandatory, while others are optional. Please note that there is a specific order in which the plugin checks these sections, and this order should be considered during configuration.
Key Sections
The GrowthModifiers configuration file includes several parameters to adjust plant growth rates and death chances. Below are the key sections and parameters you need to understand.
PLANT_NAME:
The material name of the plant you are configuring. The specified growth modifiers will be applied to this plant. Ensure the material name matches a Minecraft Material name (e.g., BAMBOO, CACTUS).
For now, only official Minecraft material names listed >here< are supported. In future updates, this will be expanded to include an API that supports custom plant materials.
Some material names are mapped to simplify the configuration process.
For example, instead of using MELON_STEM
, you can use MELON
to configure the growth of melons.
BiomeGroup
This section is specifically for handling biome groups.
These groups can be created in the BiomeGroups.yml
file.
Groups
A list of BiomeGroup names you configured in BiomeGroups.yml
.
This can also be an empty list if there is no fitting BiomeGroup. In such cases, the Biome list from the Default section is used.
BiomeGroupName
If you have listed the name of a BiomeGroup under the Groups
section, you can create a new section within the BiomeGroup
section with growth modifiers specifically for the named BiomeGroup.
Each biome group can have specific settings for growth rates and death chances.
Replace BiomeGroupName1
and BiomeGroupName2
with your actual biome group names.
This section is optional. If there is no matching section for the listed BiomeGroupName, the modifiers from the Default section are applied to the BiomeGroupName.
Default
The default configuration applies to all biomes listed under Biome
and if no specific biome group configuration is set.
If your Biome
list consists only of the keyword ALL
, the Default
section applies to all possible biomes.
For now, only official Minecraft biomes listed >here< are supported. In future updates, this will be expanded to include custom biomes.
Example Configurations
Here are some example configurations with explanations to help guide you through the configuration process.
Example 1
In this example, the Bamboo plant's growth parameters are being configured.
The configuration assigns the BiomeGroup
called Tropical
to the Bamboo plant , and further specifies its growth characteristics within this group.
The GrowthRate
is set to 100%
, meaning the Bamboo grows at a rate equivalent to vanilla Minecraft, maintaining the default growth speed. Additionally, if you configure the min_natural_light
setting, Bamboo can still grow in underground farms illuminated by UV-Light Blocks (defined under uv_blocks
), but at a reduced growth rate of 35%
compared to the normal rate.
The configuration also sets a NaturalDeathChance
of 5%
, indicating a small chance of Bamboo dying naturally in tropical biomes. In contrast, the UVLightDeathChance
is set to 15%
, reflecting a higher chance of Bamboo dying in underground farms lit by UV-Light Blocks compared to those exposed to natural skylight.
The Default
section, with its empty parentheses, signifies that Bamboo cannot grow in any other biomes outside the specified Tropical
group. Thus, only the biomes listed under the Tropical
BiomeGroup are considered valid for Bamboo growth.
Example 2
In this configuration example, the growth parameters for the Cocoa plant are defined.
The BiomeGroup
section, which typically defines specific biome groups with tailored growth settings, is assigned an empty list in this case. This indicates that no specific biome groups are configured for Cocoa, and the configuration relies entirely on the Default
section for its settings.
Within the Default
section, various growth parameters for Cocoa are specified, but these settings apply only to jungle biomes. The GrowthRate
is set to 100%
, meaning Cocoa grows at the standard rate as per vanilla Minecraft. If underground farms use UV-Light Blocks, defined under uv_blocks
, Cocoa can still grow, but at a reduced rate of 55%
.
The configuration also defines the chances of Cocoa plants dying under different conditions. The NaturalDeathChance
is set at 5%
, indicating a slight chance of Cocoa dying naturally in jungle biomes. The UVLightDeathChance
is set at 25%
, reflecting a higher chance of Cocoa dying when exposed to UV light in underground farms.
Lastly, the Biome
key within the Default
section lists specific biomes where Cocoa growth is allowed. These include JUNGLE
, BAMBOO_JUNGLE
, and SPARSE_JUNGLE
, restricting Cocoa growth exclusively to these jungle biomes.
Example 3
๐ง Work in Progress ๐ง
Advanced Topics
๐ง Work in Progress ๐ง
Order of valid Biome Checking
Growth Modifier Selection
The following table shows which growth modifier applies under which conditions. There are five cases, plus one special case, that can occur.
Valid Biome | Is Dark | UV Enabled | Fertilizer Enabled | Event |
---|---|---|---|---|
false | false | false | false | Kill Plant |
false | false | false | true | Fertilizer |
false | false | true | false | Kill Plant |
false | false | true | true | Fertilizer |
false | true | false | false | Kill Plant |
false | true | false | true | Kill Plant |
false | true | true | false | Kill Plant |
false | true | true | true | Special Case: UV-Light * Fertilizer |
true | false | false | false | Normal |
true | false | false | true | Normal + Fertilizer |
true | false | true | false | Normal |
true | false | true | true | Normal + Fertilizer |
true | true | false | false | Kill Plant |
true | true | false | true | Kill Plant |
true | true | true | false | UV-Light |
true | true | true | true | UV-Light + Fertilizer |
Last updated