Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
Editing Crops
Mystical Customization allows you easily edit registered crops.
Editing A Crop
Crops are edited via a JSON file located in /config/mysticalcustomization/
called configure-crops.json
.
This file will contain an empty JSON object on first launch. You will use this as a crop ID -> crop changes map.
Example Entry
{
"mysticalagriculture:iron": {
"name": "Orange",
"tier": "mysticalagriculture:5"
}
}
The configure-crops File
This section will go over the values available to use to edit crops. Syntax can be inferred from the example json below.
Name
You can change the display name of a crop like so.
{
"name": "Test"
}
Type
You can change the crop type of a crop using that type's ID. Learn more about types and how to add your own here.
{
"type": "mysticalagriculture:resource"
}
In versions prior to 3.0.0, the crop type IDs did not contain mod IDs. So the above example would use resource
instead.
You can see all the registered types in-game with the /mysticalcustomization types
command.
Tier
You can change the tier of a crop using the tier's ID. Learn more about tiers and how to add your own here.
{
"tier": "mysticalagriculture:1"
}
You can see all the registered tiers in-game with the /mysticalcustomization tiers
command.
Ingredient
You can change the crafting ingredient used to craft a crop's seed. This can be either an item or a tag, and uses the same syntax as a crafting recipe.
{
"ingredient": {
"item": "minecraft:iron_ingot"
}
}
Crux
You can change the required crux block to this crop. A crux is a block that must be placed underneath the farmland for this crop to grow.
2.1.7 or later: you can remove the crux from a crop by setting the value to null
.
{
"crux": "minecraft:cobblestone"
}
Enabled
You can disable a crop if you want to hide it.
{
"enabled": false
}
Glint
2.0.0+You can enable the enchantment glint effect for this crop's items.
{
"glint": true
}
Required Biomes
2.1.2+You can specify required biomes for this crop to be able to grow in.
{
"biomes": [
"minecraft:plains",
"minecraft:desert"
]
}
Base Secondary Drop Chance
3.0.1+You can modify the base chance of a second seed/essence dropping from the crop when planted on a valid farmland. Can be any value from 0.0 to 1.0.
{
"baseSecondaryChance": 0.4
}
Respects Effective Farmland
5.0.1+You can disable the +10% additional secondary seed drop chance applied when planted on the farmland
block set in the Crop Tier.
{
"respectsEffectiveFarmland": false
}
Essence Item
3.1.1+You can specify your own essence item. This is the item that will drop from the crop when harvested.
{
"essence": "minecraft:apple"
}
Setting this value will not prevent the crop's current essence item from being registered.
Recipe Config
3.1.2+You can disable the auto-generated recipes for a crop.
{
"recipes": {
"crafting": false, // the vanilla 3x3 recipe (if enabled in the config)
"infusion": false, // the infusion altar recipe for the seed
"reprocessor": false // the default seed reprocessor recipe for the seed
}
}
The auto-generated recipes for the Mystical Agriculture built-in crops are already disabled by default.
Example File
{
"mysticalagriculture:iron": {
"name": "Iron, but Modified",
"tier": "mysticalcustomization:test",
"type": "test",
"ingredient": {
"item": "minecraft:apple"
},
"crux": "minecraft:cobblestone"
},
"mysticalagriculture:stone": {
"enabled": false
}
}