It seems there will be a NBT tag in minecraft 1.9 that will allow to set custom damage. In the meanwhile, is there a way to do it in previous versions?
1 Answer
Yes, you can modify arrow damage with the damage
tag of the Arrow entity. This has been present since the power enchantment was added.
E.g.
/summon Arrow ~ ~5 ~ {damage:10}
-
3You can use
entitydata
on a fast clock to set the damage of all arrows in the game (except super-point blank shots). Note: Doing this will override any Power enchantments placed on the bow.– MrLemonSep 14, 2015 at 15:51 -
1You could also use stats to detect when someone uses a bow, then change the nearest arrow's damage based on the enchant on the bow they are holding, if power is important Sep 14, 2015 at 15:56
-
-
1@Lionitow Yes, arrow items do not have this tag. There are ways to work around this though. You could use
execute
on players that have just shot a bow and have these special arrows to change the data of arrows in their immediate vicinity.– MrLemonSep 14, 2015 at 16:31 -
@MrLemon Wouldn't that mean an unbuffed player shooting a buffed player could still get the buff?– aebabisSep 14, 2015 at 19:50