Item Modifiers
Item Modifiers add special abilities to your tools.
Item Modifiers can be configured using JSON files within a data pack in the path data/<namespace>/forbidden_arcanus/item_modifier
.
Currently, the modifier effects are hardcoded and cannot be changed through data packs.
Name | Description | Value | Required |
---|---|---|---|
| Determines which item the modifier can be applied to. | An item predicate. | true |
| An additional item filter for the predicate. | An item, a list of items, or an item tag. | false |
| Determines which enchantments are incompatible with this modifier. | An enchantment, a list of enchantments, or an enchantment tag. | false |
| These data components get removed from the item after applying the modifier. | One data component or a list of data components. | false |
| Everything related to the representation of the modifier. | A Display Settings object. | true |
Example JSON
The following code is used to create the Eternal item modifier.
Display Settings
Name | Description | Value | Required |
---|---|---|---|
| The prefix that gets added to the item. | true | |
| The texture for the custom tooltip decorations. | A valid resource location. | true |
| The colors for the custom tooltip border. | A pair consisting of two int values: | true |
Last updated