Potion and Tipped Arrow's metadata/potiondata not saved with /createkit
ajthemacboy opened this issue ยท 4 comments
When trying to create a kit using /createkit
with a tipped arrow, the kit returns an "Arrow of Splashing" with no effects.
Please make this work with all tipped arrows, such as levitation arrows which can only be summoned with a command!
Edit: Actually, potions don't work either; they just return water bottles.
1.9 fundamentally changed the way some items work by introducing NBT tags as opposed to limited item damage values, /give SupaHam tipped_arrow 1 {Potion:"swiftness"}
will give me one Tipped Arrow with a default swiftness effect, click here for a list of Potion types.
Alternatively and more complexly, you can use CustomPotionEffects
to define custom effects: /give SupaHam tipped_arrow 1 { CustomPotionEffects: [ {Id: 25, Amplifier: 1, Duration: 200} ] }
will give me one Tipped Arrow with a levitation effect, amplifier 1, and a duration of 200 ticks (10 seconds).
For more information, see: http://minecraft.gamepedia.com/Arrow
I was just playing around with this and realized that.
It turns out the issue is that the /createkit
command doesn't save potion data or arrow data. When manually creating kits, they seem to work fine; the command just doesn't.
Can you confirm this issue is real and re-open, or should I create another issue?