Item creation
Example: Teleport Bow
If you want an item to have some ability, then the customData field is required!!!
items:
teleport_bow:
stack: BOW
name: "§5§lTeleport Bow"
lore:
- "§5Teleports you to the arrow"
- ""
- "§5§l✧1/4 chance"
customData: 487334
flags:
- HIDE_DESTROYS
- HIDE_ATTRIBUTES
enchants:
1:
type: ARROW_INFINITE
level: 1
attributes:
1:
attribute: GENERIC_ATTACK_SPEED
modifer: generic.attackSpeed
value: 10
ability:
arrow:
customAb:
one:
type: TELEPORT_BOW
chance: 0.25
Last updated