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.

Important

The name of the file is used as the crop's 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.

Name

You can manually define the display name for this crop. Omitting this field will auto generate a translation key with the format crop.mysticalcustomization.{id}.

{
  "name": "Test"
}

Type

Required

You 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"
}
Tip

You can see all the registered types in-game with the /mysticalcustomization types command.

Tier

Required

You 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"
}
Tip

You can see all the registered tiers in-game with the /mysticalcustomization tiers command.

Ingredient

Required

You 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.

{
  "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, 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"
  }
}

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.

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
}

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"
}