It is currently not possible to add some data to kit items such as flags and attributes. If you add this data to an item and then use "/createkit", the items spawned when using the kit simply lack the data.
Unsupported flags:
HIDE_ENCHANTS
HIDE_ATTRIBUTES
HIDE_UNBREAKABLE
HIDE_DESTROYS
HIDE_PLACED_ON
HIDE_POTION_EFFECTS
Unsupported attributes:
DAMAGE
MOVEMENT_SPEED
ATTACK_SPEED
KNOCKBACK_RESISTANCE
MAX_HEALTH
ARMOR
LUCK
Unsupported misc:
UNBREAKABLE
The only reason I opened this as a separate issue was because of the additional flags and unbreakable bit.
I believe itemflags are supported as of the latest builds.
+1 (just wanna follow this ticket.)
I just tested createkits with unbreakable tags, and it doesn't works. Test your things before closing threads.
@Guarmanda This issue is still open. If you would like to contribute with a PR or any constructive feedback, let us know.
Issue still open, wanted to do a kit to give some Protection Stones (from the protection stones plugin) but the blocks that i get from the kit are not working because they lose a NBT tag
@Leonardo-Fiori EssentialsX doesn't support custom NBT data from plugins. If you need custom NBT in a kit, add a /give command to the kit:
- /give {player} minecraft:dirt{<NBT>}
+1
This is still an issue for me as an item I would like to give as a kit from my plugin has additional data in the form of a PersistentData tag and this data is not carried over. Would be nice to be able to have this as a feature of the kits.
@DanielRoberts21 There are a few options:
- stonesword 1 {<NBT>}/minecraft:give commands to kits following the vanilla NBT syntaxItemResolver in your plugin, which allows your plugin to add custom items to the EssentialsX item database (though this doesn't work with /createkit yet - see #3216)Still not fixed after 3 years. Very nice
Still not fixed after 3 years. Very nice
PR or shut up.