ItemJoin

ItemJoin

157k Downloads

Hide Damage and Attack speed attributes

Maxence621 opened this issue ยท 2 comments

commented

Hello,
I have a server with some friends, and i made custom swords with custom model datas tags.
I also modify the attack damage and the attack speed , wich depends on the custom model data tags.
I wanted to hide the "old" AttackDamage and AttackSpeed attributes, but the only thing that do this is the itemFlags:"HideAttributes", but the problem is, the enchantment don't show up again after i put this wich is sad,
The custom lore work correctly, but we can't see the enchantments

My question is :
How can i remove all attributes, except the custom lore and the enchantment ?

  • Resource Version and Build Number: Version 5.2.2
  • Server Version : Paper 1.17.1
commented

Okay so, the latest snapshot contains the following changes to implement this feature;
1.) hide-attributes itemflag now only hides the attributes (aka attack speed, attack damage, etc) instead of hiding ALL flags.
2.) hide-flags is a new itemflag that will hide ALL flags including attributes, enchantments, potion info, unbreakable tags, etc.

Please see the latest snapshot here;
Link; https://ci.craftationgaming.com/job/ItemJoin/758/
Remember to remove your old ItemJoin.jar file
Let me know!~

commented

This feature has been officially added in the latest release.

You can now download it here; https://www.spigotmc.org/resources/itemjoin.12661/download?version=431799