9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-27 02:49:11 +00:00

Improve crop tick

This commit is contained in:
XiaoMoMi
2025-02-24 18:16:43 +08:00
parent 08e3ba6f1d
commit b1501bee9f
5 changed files with 83 additions and 6 deletions

View File

@@ -209,6 +209,8 @@ public class ConfigType {
.seed(section.getString("seed"))
.rotation(section.getBoolean("random-rotation", false))
.maxPoints(section.getInt("max-points", 1))
.ignoreRandomTick(section.getBoolean("ignore-random-tick", false))
.ignoreScheduledTick(section.getBoolean("ignore-scheduled-tick", false))
.potWhitelist(new HashSet<>(section.getStringList("pot-whitelist")))
.wrongPotActions(pam.parseActions(section.getSection("events.wrong_pot")))
.plantActions(pam.parseActions(section.getSection("events.plant")))