We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

9

/gamerule ToolCooldown

3 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    This and an nbt tag for specific items i.e. {ToolCoolDown:5b} makes the cooldown for the item used the /give command 5 ticks.

  • 0
    Registered User commented
    Comment actions Permalink

    Jaret, that already exists:

    /give @a diamond_sword{AttributeModifiers:[{AttributeName:"generic.attackSpeed",Operation:0,Amount:5d,UUIDMost:1L,UUIDLeast:1L,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Operation:0,Amount:6d,UUIDMost:1L,UUIDLeast:1L,Slot:"mainhand"}]}

  • 0
    Registered User commented
    Comment actions Permalink

    well the syntax should be doattackcooldown