this is the code i have right now and it doesn't do anything
ItemEvents.rightClicked(event => {
const { block, player } = event
if (player.mainHandItem !== "gtceu:yellow_garnet_rod") return
if (player.name !== "Thermgon") return
event.cancel()
event.server.runCommandSilent([
`/data modify block ${block.pos.x} ${block.pos.y} ${block.pos.z}`,
"recipeLogic.lastOriginRecipe.recipe.duration 1"
].join(" "))
})