Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
Adding Crop Tiers
Mystical Customization allows you easily add your own crop tiers.
Adding A Crop Tier
Crop tiers are added via JSON files placed in /config/mysticalcustomization/tiers/
. Each file represents a new crop tier to be added.
The name of the file is used as the crops ID. The ID must be all lowercase with underscores '_' in place of spaces.
The Crop Tier File
This section will go over the values available to use in crop tier file. Syntax can be inferred from the example json below.
Any field below marked with a purple badge is required. Any field marked with a green badge requires at least the version specified.
Name
You can manually define the display name for this crop tier.
{
"name": "Test"
}
Omitting this field will auto generate a translation key with the format cropTier.mysticalcustomization.{id}
.
Value
RequiredYou must assign an integer tier value to this tier. This is used internally to sort tiers. Higher value = higher tier. For example mysticalagriculture:elemental
has a tier value of 1.
{
"value": 7
}
Essence
RequiredYou must set an essence item to be used in the crafting recipes of this tier's seeds.
{
"essence": "mysticalagriculture:tertium_essence"
}
Farmland
You can add an effective farmland block for this tier. This block will be the farmland block that grants additional secondary seed drop chance.
{
"farmland": "mysticalagriculture:inferium_farmland"
}
Fertilizable
You can disable the ability for crops of this tier to be fertilizable with Mystical Fertilizer or Fertilized Essence.
{
"fertilizable": false
}
Secondary Seed Drop
You can disable the ability for crops of this tier to have a chance of dropping a second seed.
{
"secondarySeedDrop": false
}
Base Secondary Drop Chance
3.0.1+You can modify the base chance of a second seed/essence dropping from this crop tier's crops when planted on a valid farmland. Can be any value from 0.0 to 1.0.
{
"baseSecondaryChance": 0.4
}
This value gets overridden by the baseSecondaryChance
value of a crop if specified.
Example File
{
"name": "Test",
"value": 10,
"farmland": "mysticalagriculture:inferium_farmland",
"essence": "mysticalagriculture:inferium_essence",
"fertilizable": false,
"secondarySeedDrop": false
}