#Mekanism add ore to Crusher
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
You can write your code in a codeblock by typing it between the codeblock delimiters:
```js
onEvent('recipes', e => {
e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
```
As an example, this will look like such:
onEvent('recipes', e => {
e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
Like this?
ServerEvents.recipes(event => {
event.custom({
type: 'mekanism:crushing',
ingredients: [
{
item: 'mysticalagriculture:deepslate_prosperity_ore',
},
],
result: [
{
item: 'mysticalagriculture:prosperity_shard',
count: 4,
},
],
})
});
that's not the format that mekanism expects
ServerEvents.recipes(event =>{
event.custom({
type:"mekanism:crushing",
input:{
ingredient:{
item:"mysticalagriculture:deepslate_prosperity_ore"
}
},
output:{
item: "mysticalagriculture:prosperity_shard",
count: 4
}
})
})
Thank you so much, I am new to this