0

I am currently trying to implement a custom crafting recipe in which it will place a dropper with a stone pickaxe with faster digging attributes. I was looking at

https://minecraft.gamepedia.com/Attribute#Modifiers

but I couldn't find any modifiers to increase digging speed.

execute at @p run setblock ~ ~-1 ~ dropper{Items:[{Slot:4b,id:"minecraft:stone_pickaxe",Count:1b,tag:{Unbreakable:1,display:{Name:'[{"text":"test pick","italic":false}]'},AttributeModifiers:[{AttributeName:"effect.digSpeed",Name:"effect.digSpeed",Amount:10,Operation:2}]}}]} replace

Is there any specific attribute to increase digging speed? If there isn't, I'm hoping for maybe an invisible potion effect when the item is held.

2
  • 1
    Efficiency enchantment?
    – AMJ
    Mar 24 '20 at 6:43
  • Yeah, that attribute just doesn't work. Many don't. Mar 24 '20 at 12:57
1

Sadly that is not a thing however, you could use the efficiency enchantment like so:

execute at @p run setblock ~ ~-1 ~ dropper{Items:[{Slot:4b,id:"minecraft:stone_pickaxe",Count:1b,tag:{Enchantments:[{id:"minecraft:efficiency",lvl:200}],Unbreakable:1,display:{Name:'[{"text":"test pick","italic":false}]]'}}}]} replace

It will put a pickaxe with efficiency level 200 in the dropper

2
  • 2
    You could also additionally give a player holding that specific pickaxe a Haste effect by detecting the pickaxe in a repeating command, but since Efficiency goes up to level 32767, that's probably not needed. Mar 24 '20 at 12:58
  • Thanks for responding. Yeah, I was hoping to make it enchantable, and that's why I wanted something other than an already implemented enchant. I'll try your idea Fabian. Thanks! Mar 24 '20 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.