#Mekanism add ore to Crusher

6 messages · Page 1 of 1 (latest)

tame bobcat
#

I have tried to add the recipe that turns prosperity ore into prosperity shard and it doesnt work.
I have used this:

event.custom({
type: 'mekanism:crushing',
ingredients: [
{
item: 'mysticalagriculture:deepslate_prosperity_ore',
},
],
result: [
{
item: 'mysticalagriculture:prosperity_shard',
count: 4,
},
],
})

heady torrentBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

cloud basinBOT
#

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)
})
tame bobcat
#

Like this?
ServerEvents.recipes(event => {
event.custom({
type: 'mekanism:crushing',
ingredients: [
{
item: 'mysticalagriculture:deepslate_prosperity_ore',
},
],
result: [
{
item: 'mysticalagriculture:prosperity_shard',
count: 4,
},
],
})
});

proud osprey
#

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
    }
  })
})
tame bobcat
#

Thank you so much, I am new to this