🥰 Compatibility
With CraftEngine's recipes, you can use items from other plugins - but you'll need to configure them properly. First, add the supported plugins to this section in config.yml
:
# config.yml
recipe:
ingredient-sources:
- MythicMobs
Supported item sources can be found on 🐌 External Item Sources. You can also register your own item source through API.
Alright, let me walk you through a concrete example to show how you can reference external stuff.
Recipe Result
items:
mythicmobs:kingscrown:
material: golden_helmet
data:
external:
plugin: MythicMobs
id: KingsCrown
recipes:
mythicmobs:kingscrown:
type: shaped
pattern:
- AAA
- A A
ingredients:
A: default:topaz
result:
id: mythicmobs:kingscrown
count: 1


Recipe Ingredient
items:
mythicmobs:kingscrown:
material: golden_helmet
data:
external:
plugin: MythicMobs
id: KingsCrown
recipes:
default:bench:
type: shaped
pattern:
- A A
- A A
ingredients:
A: mythicmobs:kingscrown
result:
id: default:bench
count: 1

For any items used as ingredients, you have to make sure their namespace in CraftEngine is the plugin name in lowercase, and the ID should also be in lowercase. Let me give you a few examples so you can see how this works:
Item named 'MySword' in MythicMobs ->
mythicmobs:mysword
Item named 'star_fish' in CustomFishing ->
customfishing:star_fish
Item named 'MAGIC_GEM' with 'GEM' type in MMOItems ->
mmoitems:gem_magic_gem
Item with namespaced id in a RANDOM plugin ->
random_plugin:namespace_id
Last updated