All new types are functions inside of the global
object. They should be called inside of the recipes
event like so: global.mrt.<mod>.<type>(event, {args}, <id>)
.
- the recipe id and almost all number and boolean parameters are optional
- to use nbt in items use Item.of(
<Item>
,<Nbt>
) - to use chance in items use Item.of(
<Item>
).withChance(<Chance>
)
For more info look at the section below.