⚠️Note
You can use change rules at both fake-changes
and real-changes
option.
The rule with an *
symbol indicates that the item will be replaced, the original item will disappear, and then the new item will replace the original item.
When using SubChange and RandomChange rules, if a rule that requires a Replace Item is used, the parent rule will also be automatically considered as requiring a Replace Item.
When using these rules, please be sure to note that the replaced item can no longer meet this rule, otherwise the item will be constantly replaced, causing a dead loop and ultimately causing the server to crash!
fake-changes:
add-name-first: '&fGood '
set-name: '&fGood Diamond Sword'
add-lore-last:
- '&f&lCommon'
set-lore:
- '&7A good sword that all adventures should use!'
- '&f&lCommon'
add-lore-prefix: '%img_tooltip1%'
set-custom-model-data: 5
add-flags:
- 'HIDE_ENCHANTS'
real-changes:
add-enchants:
POWER: 1
remove-enchants:
- 'POWER'
remove-all-enchants: true
replace-item:
material: golden_sword
Last updated