#using extendedcrafting singularities in recipes
11 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
what i want to do is use the avaritia compressor to make the singularities from extendedcrafting, because those ones are way easier to make
but the avaritia compressor only works as a custom recipe type, so i need to make a json object and all that
so far, i have
event.recipes.avaritia.compressor({
result: {
item: 'extendedcrafting:singularity',
Id: 'extendedcrafting:tar'
},
cost: 413,
ingredients: [{item: `minestuck:${mat}_${candy}`}]
})
but all the recipes come out with null singularities
so i can't use item.of()
You can use Item.of() in a custom recipe ^^ You just need to add.toJson()to ItemStack /Item.of().toJson()
Same goes for Ingredient.of()
ah ok
This doesn't work 100% of the time, as, for example, IE uses custom count and tag handler, but for anything that uses default JSON structure, it should work fine 😄
ok well that was an easy fix