Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
Adding Crops
Mystical Customization allows you easily add your own crops.
Adding A Crop
Crops are added via JSON files placed in /config/mysticalcustomization/crops/
. Each file represents a new crop 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 File
This section will go over the values available to use in crop 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.
{
"name": "Test"
}
Omitting this field will auto generate a translation key with the format crop.mysticalcustomization.{id}
.
Type
RequiredYou must assign this crop to a type, 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
RequiredYou must assign this crop to a tier, 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
RequiredYou must assign the crafting ingredient used to craft this crop's seed. This can be either an item or a tag, and uses the same syntax as a crafting recipe.
Note: As of version 2.1.3, this field is no longer required.
{
"ingredient": {
"item": "minecraft:iron_ingot"
}
}
Colors
You should set a color for the crop, essence and seeds. Colors are set using HEX values.
{
"colors": {
"flower": "aaaaaa",
"essence": "bbbbbb",
"seeds": "cccccc"
}
}
If you want to use the same color for all 3 (which you probably should), you can use this syntax instead.
{
"color": "aaaaaa"
}
Textures
You should set the textures you want to use for your crop, essence and seeds.
{
"textures": {
"flower": "mysticalagriculture:block/flower_dust",
"essence": "mysticalagriculture:block/essence_dust",
"seeds": "mysticalagriculture:item/mystical_seeds"
}
}
In versions 4.1.0 and later, due to changes in Minecraft, this option now uses Model Locations instead of textures. Mystical Agriculture comes with models for each of the default textures listed below. If you would like to use your own, see Custom Models.
Built In Flower Textures
mysticalagriculture:block/flower_ingot
mysticalagriculture:block/flower_rock
mysticalagriculture:block/flower_dust
mysticalagriculture:block/flower_face
Built In Essence Textures
mysticalagriculture:item/essence_ingot
mysticalagriculture:item/essence_rock
mysticalagriculture:item/essence_dust
mysticalagriculture:item/essence_gem
mysticalagriculture:item/essence_tall_gem
mysticalagriculture:item/essence_diamond
mysticalagriculture:item/essence_quartz
mysticalagriculture:item/essence_flame
Built In Seed Textures
mysticalagriculture:item/mystical_seeds
Omitting this field (or any sub-field) will automatically assign to the Ingot textures. For the seed it will just be the regular seed texture.
Custom Models
You can use your own custom models by using a Resource Pack. Learn more about creating Resource Packs here.
Crux
You can add a required crux block to this crop. A crux is a block that must be placed underneath the farmland for this crop to grow.
{
"crux": "minecraft:cobblestone"
}
Enabled
You can disable this crop during the creation process if you really want to I guess.
{
"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 prevent the default essence item from being registered. If you still want that item to be registered, you can set this value in the configure-crops.json
file instead.
Recipe Config
3.1.2+You can optionally disable the auto-generated recipes for your crops if you plan on adding your own instead.
{
"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
}
}
Example File
{
"name": "Test",
"type": "resource",
"tier": "mysticalagriculture:1",
"ingredient": {
"item": "minecraft:iron_ingot"
},
"color": "eb7a34",
"textures": {
"flower": "mysticalagriculture:block/flower_dust",
"essence": "mysticalagriculture:item/essence_dust"
},
"crux": "minecraft:cobblestone"
}