Growth Seasons

From Harvest Festival
Jump to navigation Jump to search

By default Simply Seasons makes crops, trees and other plants only grow in specific seasons. Outside of this season they will do one of four things. Grow slowly, Not grow, Turn to junk or turn to air. By default crops will turn to deadbushes and other blocks will not grow. You can change this setting in the configuration files. If you wish to apply different seasons to the existing blocks then you will need to make use of the Penguin-Lib database. Create a csv file data/simplyseasons/database/growth_seasons.csv and then fill out the details you wish. This will override the defaults listed below.

Item/Block,Season Predicate
minecraft:wheat_seeds,not_winter
minecraft:carrot,autumn
minecraft:potato,spring
minecraft:beetroot_seeds,autumn
minecraft:melon_seeds,late
minecraft:pumpkin_seeds,late
minecraft:cocoa_beans,jungle
minecraft:sugar_cane,jungle
minecraft:bamboo,jungle
minecraft:cactus,desert
minecraft:sweet_berries,late
minecraft:oak_sapling,not_winter
minecraft:spruce_sapling,not_winter
minecraft:birch_sapling,not_winter
minecraft:jungle_sapling,jungle
minecraft:acacia_sapling,not_winter
minecraft:dark_oak_sapling,not_winter
minecraft:bamboo_sapling,jungle

Predicates

You may have noticed the above file uses predicates instead. This is to make it easier to group seasons together. You can create your own in a season_predicates.csv. Or just make use of the existing ones, example below.

Name,Season
spring,spring
spring,wet
summer,summer
summer,wet
autumn,autumn
autumn,wet
winter,winter
winter,wet
late,summer
late,autumn
desert,summer
desert,dry
jungle,wet
jungle,spring
jungle,summer
not_winter,spring
not_winter,summer
not_winter,autumn
not_winter,dry
not_winter,wet
all_year,spring
all_year,summer
all_year,autumn
all_year,winter
all_year,wet
all_year,dry

If you wish to add more blocks, you could technically override this file but it's recommended to use your own NAMESPACE instead of the simplyseasons one.