#Farmers Delight Cutting fabric
13 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
I don't think there is a version for fabric, but you can use "event.custom" for cutting recipes (if that is your goal).
i got this script that gives 0 errors but doest work
ServerEvents.recipes(event => {
event.custom({
type: 'farmersdelight:cutting',
ingredients: [
{ item: 'minecraft:nether_star' }
],
tool: { item: '#farmersdelight:tools/knives' },
result: [
{ item: 'kubejs:minced_nether_star', count: 4 }
]
})
})
and by doesnt work i mean it says "this item doesn't seem cuttable..."
Are you using "Refabricated" or "Deprecated Fabric" version ?
I use refabricated and it works for me. I changed the tool from item to tag. js event.custom({ type: 'farmersdelight:cutting', ingredients: [ { item: 'minecraft:nether_star', }, ], tool: { tag: 'c:tools/knives', }, result: [ { item: 'minecraft:stick', count: 4, }, ], });
refab
i got it to work
ServerEvents.recipes(event => {
event.custom({
type: 'farmersdelight:cutting',
ingredients: [
{
tag: 'minecraft:saplings'
}
],
result: [
{
count: 1,
item: 'minecraft:dead_bush'
}
],
tool: {
item: 'minecraft:shears'
}
})
event.custom({
type: 'farmersdelight:cutting',
ingredients: [
{
item: 'minecraft:nether_star'
}
],
result: [
{
count: 4,
item: 'kubejs:minced_nether_star'
}
],
tool: {
tag: 'farmersdelight:tools/knives'
}
})
})
Ticket closed!
You also changed tool from item to tag, so that must have been the problem. Glad it's working now 🙂