As suggested some time ago by
@ChernyyKap , the following features were added:
Trees of Shrubs!
Define a "
TreeLeafDensity" in a shrub config to make it tree-compatible:
- Number between 0 and 1 (1 = 100%, 0.5 = 50%, 0.05 = 5%).
- Indicates the percentage of leaves of a tree that will produce produce.
- The sapling itself wont produce anything, but when it grows into a tree, shrubs will scatter across its outermost leaves. (Leaves covered in all sides wont ever produce)
- Wont do anything special if not assigned to a sapling (oak, birch, etc...).
Seed Packages!
Indicate a "
SeedPacket" in a shrub config to make it behave as a seed bag:
- SeedPackets are a config of their own, in seed-packets.yml
- Instead of being placed down as a block, it will plant itself on the block it is used on.
- Can be any item, not just placeable blocks.
- Because it wont consume itself, may want to do it as a MMOItem of type 'Consumable'.
And as more recently suggested by
@koneney , bone meal can now be used as fertilizer:
Bone Meal as Fertilizer:
Give a value of "
FertilizerEfficiency" in a shrub config to modify the default of 0.85
- Everytime bone meal is used on a shrub, the remaining time is multiplied by this number.
- Suppose 100 seconds are left, using one bone meal will substract 15 seconds , then the next one 13s, then 11s... (by default).
- Set to 1 to disable for a specific shrub.
Example Configs:
Tree Shrub (with Fertilizer Efficiency)
Code (Text):
MangoSapling:
# As Tree
TreeLeafDensity: 0.05 # 5%
# VERY high efficiency of bone meal
FertilizerEfficiency: 0.5
# What MMOItem Should this Shrub Generate?
Produced_MMOItem_Type: CONSUMABLE
Produced_MMOItem_ID: MANGO
# Minimum Amount of Seconds between Generations
Minimum_Generation_Time: 1
# After enough time has elapsed, every second's chance at generating the MMOItem
Generation_Chance: 100 # 100%
# How many items can this shrub hold?
Storage_Capacity: 3
# Can pistons make the item drop?
Piston_Farmable: true
# If the conditions are broken, should the generation timer reset?
Require_Constant_Conditions: true
# In what environment does this shrub produce?
Conditions:
- Uncapped
Seeds Shrub
Code (Text):
TomatoSeeds:
# As Seeds
SeedPacket: 'Tomatoes'
# What MMOItem Should this Shrub Generate?
Produced_MMOItem_Type: CONSUMABLE
Produced_MMOItem_ID: TOMATO
# Minimum Amount of Seconds between Generations
Minimum_Generation_Time: 1
# After enough time has elapsed, every second's chance at generating the MMOItem
Generation_Chance: 100 # 100%
# How many items can this shrub hold?
Storage_Capacity: 3
# Can pistons make the item drop?
Piston_Farmable: true
# If the conditions are broken, should the generation timer reset?
Require_Constant_Conditions: true
# In what environment does this shrub produce?
Conditions:
- Uncapped
Code (Text):
# This goes in seed-packets.yml; It is a list of what blocks accept the seeds.
Tomatoes:
- LILY_OF_THE_VALLEY