#(giornobanana) How to change max durability of an item

9 messages · Page 1 of 1 (latest)

solemn rain
#

Hi i'm making a custom pickaxe right now and i want to change the duration of the pickaxe to 20. But when i change the mechanism it doesn't work and stay at 250 (for an iron pickaxe)

lean berryBOT
#

(giornobanana) How to change max durability of an item

lean berryBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

solemn rain
#

RenforcedIronPickaxe:

type: item

material: IRON_PICKAXE

display name: "<&6>Pioche en fer renforcée"

lore:
    - "<&7>Forgée avec des techniques ancestrales, cette pioche"
    - "<&7>possède une résistance exceptionnelle qui lui permet"
    - "<&7>de briser les minerais les plus précieux."
    - "<&c>"
    - "<&c>⚠ Sa densité remarquable la rend particulièrement lourde"
    - "<&c>et ralentit considérablement les mouvements de minage."


flags:
    can_break_diamond: true
    
mechanisms:
    max_damage: 20

recipes:
    1:
        type: shaped

        recipe_id: renforced_iron_pickaxe_recipe

        group: custom_pickaxe
        
        output_quantity: 1

        input:
        - material:iron_block|material:nether_star|material:iron_block
        - air|material:iron_pickaxe|air
        - air|material:*_log|air

no_id: false

Here is the code

boreal sequoia
#

Think you meant to put this in #1026104994149171200

solemn rain
#

oh sorry i'm stupid

livid thistleBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@solemn rain