NBTEditor lets you turn any item in the game into a custom weapon or piece of armor easly with commands. You can set an item's attack damage, speed, and range directly, attach potion effects that trigger when you attack or get hit, give yourself items on a timer, and build dynamic combat stats that grow the more you fight — all stored on the item itself so it works across chests, drops, trades, and multiplayer
Features
/nbteditor attribute damage <value>
Sets the weapon's attack damage
/nbteditor attribute speed <value>
Sets how fast the weapon swings.
/nbteditor attribute range <value>
Sets the weapon's melee reach.
/nbteditor attribute boost <stat> on_hit <value> [chance]
Adds to a stat each hit.
/nbteditor attribute boost <stat> when_hit <value> [chance]
Adds to a stat when hit.
/nbteditor attribute boost <stat> on_hold <value> <interval_seconds> [chance]
Slowly builds a stat over time.
/nbteditor attribute cap <stat> <value>
Sets the maximum value a stat can reach.
/nbteditor attribute set <stat> on_hit <value> [chance]
Snaps a stat to a value on hit.
/nbteditor attribute set <stat> when_hit <value> [chance]
Snaps a stat to a value when hit.
/nbteditor effect add give on_hit <effect> <level> <seconds> [particles] [chance]
Gives you an effect when you attack.
/nbteditor effect add give when_hit <effect> <level> <seconds> [particles] [chance]
Gives you an effect when you're hit.
/nbteditor effect add give on_hold <effect> <level> [seconds] [particles] [chance]
Passively gives you an effect while held.
/nbteditor effect add inflict on_hit <effect> <level> <seconds> [particles] [chance]
Applies an effect to enemies you hit.
/nbteditor effect add inflict when_hit <effect> <level> <seconds> [particles] [chance]
Applies an effect to whoever hit you.
/nbteditor item on_hit <item> [chance]
Gives you an item when you attack.
/nbteditor item when_hit <item> [chance]
Gives you an item when you're hit.
/nbteditor item on_hold <item> <interval_seconds> [chance]
Gives you an item on a timer.

