9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-26 10:29:10 +00:00

implement fertilizers

This commit is contained in:
XiaoMoMi
2024-09-01 17:04:04 +08:00
parent 37688940ca
commit 11a6e803d4
7 changed files with 49 additions and 13 deletions

View File

@@ -125,6 +125,7 @@ public class ConfigType {
.addWaterActions(pam.parseActions(section.getSection("events.add_water")))
.placeActions(pam.parseActions(section.getSection("events.place")))
.breakActions(pam.parseActions(section.getSection("events.break")))
.maxFertilizerActions(pam.parseActions(section.getSection("events.max_fertilizers")))
.interactActions(pam.parseActions(section.getSection("events.interact")))
.reachLimitActions(pam.parseActions(section.getSection("events.reach_limit")))
.fullWaterActions(pam.parseActions(section.getSection("events.full")))

View File

@@ -11,6 +11,8 @@ default:
absorb-rainwater: true
# Does nearby water make the pot wet
absorb-nearby-water: false
# The max amount of fertilizers
max-fertilizers: 1
# Set unique looks for pots with different fertilizer statuses
fertilized-pots:
quality: