# New Content
## Reactor Core
### Support for Stack-Growing Crop Ripening
- Reactor Cores equipped with the Agricultural Reactor Module now support ripening stack-growing crops.
- This function can work normally without installing the "Universal Bone Meal" mod.
- Vanilla supported stack-growing crops: Sugar Cane, Cactus, Bamboo, Bamboo Shoot.
- Ripening mechanism: There is a 9% chance to make the crop grow one block higher each ripening. When the crop reaches 3 blocks in height, the upper 2 blocks of the crop will be converted into drops.
### Other Vanilla Crops Support
- Reactor Cores equipped with the Agricultural Reactor Module now support ripening Sweet Berries.
## Language Localization
- Added basic localization support for Traditional Chinese (Taiwan Province Region, China).
- Added basic localization support for Korean (Democratic People's Republic of Korea).
## Technical Updates
### New Tags Added
- New tag added: `#cp_lib:crop_dimension_agriculture`, used to mark crop blocks that can be ripened by Reactor Cores equipped with the Agricultural Reaction Module.
- New tag added: `#cp_lib:stackable_crop_dimension_agriculture`, used to mark stack-growing crop blocks that can be ripened by Reactor Cores equipped with the Agricultural Reaction Module.
- Tag activation rules: All blocks marked with the above tags can be ripened and attempted to be harvested by Reactor Cores equipped with the Agricultural Reaction Module. However, for non-vanilla crops, the corresponding products will only drop upon harvesting if the jauml mod is installed.
- Configuration requirements for custom crops:
- Custom crops need to be marked with the corresponding tags and the item ID of the product filled in the configuration file, otherwise they can only be ripened but no items will drop upon harvesting.
- Custom crop blocks must grow based on the age block state to be properly compatible with the ripening function.
### New Configuration File
- New configuration file path: `config\croparium\Agricultural Crop Mapping.json`
- File function: Stores the mapping relationship between crops and their corresponding products.
- Activation condition: Only takes effect after installing the jauml mod.
- Automatic generation rule: If the file does not exist when the game starts or the command `/cropariumReload` is executed, a default file will be automatically generated.
## Mod Compatibility Support
Added crop adaptation support for the following mods:
- GrowableOres (up to version 3.6.1): All Ore Sugar Canes
- Farmer's Delight: Cabbage, Tomato, Onion
- Corn Delight: Corn
- Ramadan Delight: Chickpea, Parsley
- Veggies Delight: Bell Pepper, Broccoli, Cauliflower, Turnip, Zucchini, Garlic, Sweet Potato
# Changes
## Embryo Block Function
- Mod-specific crops can be directly planted on the corresponding Embryo Blocks.
## Configuration File Optimization
- Optimized the configuration item verification logic: Added range restrictions for some numeric configuration items; if data exceeding the range is entered, it will be reset to the default value.
- For configuration items that should be filled with integers, if a floating-point number is entered, it will be automatically modified and read as the rounded-up integer when reading. If the rounded-up value is not within the valid range, it will be reset to the default value.
- For boolean configuration items, any data other than `true` will be considered `false`.
- Modified the content of configuration items and enabled new configuration files with the same path as the original files. Note that the configuration content of the original configuration files will not be inherited to the new configuration files.
- Original configuration files (`config\croparium\English Config.json` and `config\croparium\中文配置.json`) will be deprecated.
- Now the `/cropariumReload` command needs to be followed by the string `English` or `Chinese` to read the English or Chinese configuration file respectively.
- Only the English configuration file will be generated by default now.
- To generate or read the Chinese configuration file, you need to enter the world and use the command `/cropariumReload Chinese`.
### English Configuration File Details
- English configuration file path: `config\croparium\Croparium Config.json`
- Default content:
```json
{
"Entities will take damage when walking on farmland soaked with lava (Default: true)": true,
"Enable the right-click to harvest crops function (Default: true)": true,
"Smelted items will drop when harvesting crops with a tool enchanted with fire aspect using right-click (Default: true)": true,
"Enable the reactor core (Default: true)": true,
"Crop can be ripened using embryo shards (Default: true)": true,
"The condition of surrounding farmland will affect the growth rate of crops (Default: true)": true,
"Farmland soaked by magma will turn water into cobblestone upon contact (Default: true)": true,
"Reactor core consumes the module durability (Default: true)": true,
"Allow advanced crops to be planted (Default: true)": true,
"The state of farmlands will change due to specific fluid (Default: true)": true,
"The base number of items dropped when right clicking to harvest (Default: 2.0, Range: 1.0~5.0)": 2.0,
"The extra number of items dropped when breaking mature crops (Default: 0.0, Range: 0.0~5.0)": 0.0,
"How fast the crop grows, bigger value making crops grow slower (Default: 3.0, Range: 3.0~Double.MAX)": 3.0,
"Reactor core runtime cycle (Default: 180.0, Range: 90.0~Double.MAX)": 180.0,
"The success rate of obtaining embryo shards (Default: 0.3, Range: 0.0~1.0)": 0.3,
"The horizontal range multiplier when the reactor core takes effect (Default: 6.0, Range: 1.0~12.0)": 6.0,
"The vertical range multiplier when the reactor core takes effect (Default: 1.0, Range: 1.0~12.0)": 1.0
}
```
### 简体中文配置文件详情
- 文件路径:`config\croparium\矿石种植工艺 配置.json`
- 生成方式:进入世界后执行指令 `/cropariumReload Chinese` 生成;修改后需重新执行该指令生效
- 默认内容:
```json
{
"实体在被岩浆浸润的农田上行走时会受到伤害 (默认: true)": true,
"启用右键收获作物功能 (默认: true)": true,
"使用带有火焰附加魔咒的工具右键收获作物时掉落熔炼后的物品 (默认: true)": true,
"启用反应核心 (默认: true)": true,
"矿芯碎片能够催熟对应作物 (默认: true)": true,
"周围耕地状态影响作物的生长速率 (默认: true)": true,
"被岩浆浸润的农田接触到水会将水转换为圆石 (默认: true)": true,
"反应核心消耗模块的耐久度 (默认: true)": true,
"允许种植高级作物 (默认: true)": true,
"农田会因为特定的流体而改变状态 (默认: true)": true,
"右键收获时的基础掉落物数量 (默认: 2.0, 范围: 1.0~5.0)": 2.0,
"破坏成熟作物时的额外掉落物数量 (默认: 0.0, 范围: 0.0~5.0)": 0.0,
"作物成长快慢,数值越大,作物成长速度越慢 (默认: 3.0, 范围: 3.0~Double.MAX)": 3.0,
"反应核心刷新周期 (默认: 180.0, 范围: 90.0~Double.MAX)": 180.0,
"提取矿芯碎片的成功率 (默认: 0.3, 范围: 0.0~1.0)": 0.3,
"反应核心生效时作用的水平方向范围乘数 (默认: 6.0, 范围: 1.0~12.0)": 6.0,
"反应核心生效时作用的垂直方向范围乘数 (默认: 1.0, 范围: 1.0~12.0)": 1.0
}
```
## Optimizations
- Optimized the textures of Overworld crop seeds and Nether crop seeds.
- Removed the fuel function of Coal Plants and Coal Seeds.
- Optimized the operation logic of Reactor Core ripening crops.
- Optimized the operation smoothness of the Reactor Core when loading complex modules.
- Optimized the experience of configuration file reloading.
# Fix
- Fixed the recipe error of decomposing Rotten Flesh Block into Rotten Flesh.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }