item_stats ammo - magemonkeystudio/divinity GitHub Wiki
🎯 item_stats/ammo.yml
This file defines ammo types that can be assigned to ranged or projectile-based items. Each entry determines how the ammo type is displayed in item lore and whether it can be used.
Ammo types are typically referenced by items using the AMMO_TYPE
stat, and are also used when applying custom behaviors to weapons like bows, wands, or launchers.
🔑 Format
Each ammo type includes:
Key | Description |
---|---|
enabled |
If false, the ammo type will be ignored by the plugin. |
name |
Display name used for formatting. |
format |
Lore line format. %name% is replaced by the name field. |
🧾 Full File
ARROW:
enabled: true
name: Arrow
format: '&7➶ Ammo Type: &f%name%'
SNOWBALL:
enabled: true
name: Snowball
format: '&7➶ Ammo Type: &f%name%'
EGG:
enabled: true
name: Egg
format: '&7➶ Ammo Type: &f%name%'
FIREBALL:
enabled: true
name: Fireball
format: '&7➶ Ammo Type: &f%name%'
WITHER_SKULL:
enabled: true
name: Wither Skull
format: '&7➶ Ammo Type: &f%name%'
SHULKER_BULLET:
enabled: true
name: Shulker Bullet
format: '&7➶ Ammo Type: &f%name%'
LLAMA_SPIT:
enabled: true
name: Llama Spit
format: '&7➶ Ammo Type: &f%name%'
ENDER_PEARL:
enabled: true
name: Ender Pearl
format: '&7➶ Ammo Type: &f%name%'
EXP_POTION:
enabled: true
name: Exp Potion
format: '&7➶ Ammo Type: &f%name%'
💬 Notes
- This file supports any Bukkit
Projectile
entity (e.g.FIREBALL
,EGG
, etc.). - Ammo types are assigned through the Item Generator module when creating custom weapons.
- To disable a type, just set
enabled: false
.