Datapack Customizations'Ritual Recipe Scheme - MUYUTwilighter/Croparia GitHub Wiki
< Back to Datapack-Customizations
Ritual Recipe Scheme
This page explains the recipe scheme of ritual conversion.
Taking croparia:horn_plenty
as example, the ritual recipe is like this:
{
"type": "croparia:ritual",
"tier": 2,
"ingredient": {
"id": "minecraft:goat_horn"
},
"block": {
"block": "minecraft:cake",
"properties": {
"bites": "0"
}
},
"result": {
"id": "croparia:horn_plenty",
"Count": 1
}
}
Fields:
type
: the recipe type, set tocroparia:ritual
if you want to use ritual recipe typetier
: tier of the ritual, should between1
to3
inclusiveingredient
: the item need to be thrown on the infusor
- [Optional]
id
: item id, should not be set whentag
is set- [Optional]
tag
: item tag, should not be set whenid
is set- [Optional]
nbt
: nbt component for the item- [Optional]
count
: count of the item, default value1
block
: block used to sacrifice
- [Optional]
block
: block specification, could be block id or block tag. A hashtag is required if it is a tag- [Optional]
properties
: the block state properties. Note that the value should always be string
result
: the output item
id
: item id, note that if the result item is spawn egg, it will be "used" on the ritual stand to summon the entityCount
: item count, notice that it is camel cased.