#make custom item support enchantment

9 messages · Page 1 of 1 (latest)

zealous mist
#

I have made a custom tool. How do I make it support fortune?

$aceplanteissue

coarse martenBOT
#

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

turbid estuary
#

pretty sure everything supports fortune by default

coarse martenBOT
#

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

turbid estuary
#

loottables just check if you hold an item with the enchantment in your main hand

zealous mist
zealous mist
#

Did not work

    e.create('iron_chisel').maxDamage(80).maxStackSize(1).tag('kubejs:chisels').tool('pickaxe', {level: 1,speed: 2,damage: 1})
#

also did not work

e.create('iron_chisel').maxDamage(80).maxStackSize(1).tag('kubejs:chisels').canApplyAtEnchantingTable((stack, enchantment) => enchantment.id === 'minecraft:fortune')
zealous mist