source.addEffect("jump_boost", DURATION_SECONDS * 20, { amplifier: JUMP_AMPLIFIER, showParticles: true });
if (itemStack?.typeId === "minecraft:skull" && itemStack.amount === 5) { // Custom check for our "Rabocaa Levaa Ruka" // In a real addon, you'd use a custom item ID. Here we simulate with skull type 5.
// Register item use event world.afterEvents.itemUse.subscribe((event) => { const { source, itemStack } = event;