CB custom reciepes don`t want to save NBT stats
LadyCailinBot opened this issue · 11 comments
CRAFTBOOK-2914 - Reported by Богдан.Шкляренко
http://i.imgur.com/c6zFR7d.jpg
Item Created using CommandBlock (or can be created by plugin or NTBEDIT)
http://minecraft.gamepedia.com/Tutorials/Command_NBT_Tags
Items can have health, knockback resistance, damage and movespeed attributes.
This attributes caanot be saved via CB custom crafting
Comment by me4502
This is a bukkit limitation, there is nothing I can do about it yet.
Comment by Богдан.Шкляренко
Hmmm :c Bukkit api can`t read this tags on items?
Comment by me4502
Yeah, the bukkit API does not provide the ability to check or add attributes to items.
Comment by Богдан.Шкляренко
wow :c Not good. Its a reason why anticheat blocking movespeed tag (because ac can
t read it :C)
So i want some lore stats - i must use plugin like ItemLoreStats (because it`s not tag, just colored text in lore)?
Comment by Богдан.Шкляренко
in 14w07a snapshot Minecraft can test item for NBT tags
/testfor @p {Inventory:[{Slot:6b,id:"minecraft:diamond_sword"}],SelectedItemSlot:6}
Hmmm.. good.
Comment by Dark_Arc
Commands can already do things like that. The give command in Bukkit's new command system has the ability to add attributes to items. However, they haven't given plugin developers an API which would allow us to resolve this issue for you.
Comment by Богдан.Шкляренко
Comment by me4502
That doesn't support reading attributes, only setting.
And I don't really want to add extra dependencies to the plugin.
Comment by Богдан.Шкляренко
NP, i found craft alternative - ShopKeepers :3
It`s magicly can saves items with NBT