-
Notifications
You must be signed in to change notification settings - Fork 0
Traits
nahkd123 edited this page Jul 28, 2021
·
1 revision
Traits are items modifiers, each traits can store data, as well as modify the item meta. Traits can only be created by other plugins, but ManyItems also includes some traits for you to use.
Traits can be added inside item configuration:
# item.yml
traits:
trait_id:
# Traits configurationSometimes you don't want trait A to modify the meta before trait B, therefore you need to change the order inside config.yml:
# Traits configuration
traits:
meta-modifiers-order: ["trait_b", "trait_a"]This is important to display something on item tooltips, and if you don't include the trait ID inside meta-modifiers-order array, it won't be displayed on tooltips.
These traits are provided by ManyItems. You don't need other plugin to use these
| Name | Trait ID | Wiki |
|---|---|---|
| Rarity | rarity |
here |
ManyItems let you creates custom item and use them with plugins that uses Custom Items Driver API from FeatherPowders