arrows - magemonkeystudio/divinity GitHub Wiki
When false
, custom arrows will be taken regardless of the bow's Infinity enchantment.
settings:
allow-infinity-enchant: false
-
allow-infinity-enchant: true/false
When false, custom arrows will be taken regardless of the bow Infinity enchantment.
Setting | Description | Example |
---|---|---|
name | Name of the arrow. | &6Explosive Arrow |
lore | Item description/lore. |
&fâ &7Dodge Rate: &c-10% , &fâ &7Burn Rate: &a+15% , etc. |
model-data | Custom model data number from your resource pack. | 123 |
amount | The amount of the item. | 1 |
durability | The amount of durability the item has. | 10 |
skull-hash | Player head textures. | '' |
enchanted | true/false - Adds a random enchantment to make the item glow. | false |
color | R,G,B or -1 - Item color for leather armor and potions. -1 adds random color (0-255). | 255,255,255 |
unbreakable | true/false - Makes the item unbreakable. | false |
item-flags | You can find all item flags here. Use * to apply all flags. |
HIDE_ATTRIBUTES , HIDE_ENCHANTS
|
additional-stats | Additional stats applied to the arrow. Stats like DODGE_RATE will affect the enemy if negative. |
BURN_RATE: 15.0 , DODGE_RATE: -10.0 , CRITICAL_RATE: 50.0%
|
additional-damage | Defines physical and elemental damage of the arrow. |
physical: 10.0 , fire: 10.0%
|
defense-ignoring | Ignores a percentage of the target's defense. | physical: 10% |
on-fly-actions | Actions executed while the arrow is flying. | [PARTICLE_SIMPLE] ~name: SMOKE_NORMAL; ~amount: 1; ~offset: 0,0,0; ~speed: 0; ~target: self; |
on-hit-actions | Actions executed when the arrow hits a target. |
[PARTICLE_SIMPLE] ~name: EXPLOSION_LARGE; ~offset: 2,2,2; ~speed: 0.1; ~amount: 50; ~target: self; [SOUND] ~name: ENTITY_GENERIC_EXPLODE; ~target: all; [DAMAGE] ~amount: -50%; ~target: near;
|
-
model-data: number
Custom model data number from your resource pack.
Example:model-data: 123
-
amount: number
The amount of the item.
Example:amount: 1
-
durability: number
The amount of durability the item has.
Example:durability: 10
-
skull-hash: player head
Player head textures can be found here.
Example:skull-hash: ''
-
enchanted: true/false
Adds a random enchantment to make the item glow.
Example:enchanted: false
-
color: R,G,B or -1
Item color for leather armor and potions. -1 adds random color (0-255).
Example:color: 255,255,255
-
unbreakable: true/false
Makes the item unbreakable.
Example:unbreakable: false
-
item-flags: flags or '*'
You can find all item flags here. Use*
to apply all flags.
Example:item-flags: - HIDE_ATTRIBUTES - HIDE_ENCHANTS
-
additional-stats: Item Stats
Item stats can be found here. Stats like DODGE_RATE will be applied to the enemy too, so to decrease enemy stats put negative number. Add percent (%) symbol at the end of the value to work as a multiplier.
Example:
BURN_RATE: 15.0
DODGE_RATE: -10.0
CRITICAL_RATE: 50.0%
-
additional-damage: Damage Types
Damage types can be found here. Add percent (%) symbol at the end of the value to work as a multiplier.
Example:
physical: 10.0
fire: 10.0%
-
defense-ignoring: Defense Types
Defense types can be found defense. Defense applies to the enemy as a negative value. If you want to ADD defense to the enemy, put a NEGATIVE value. Add percent (%) symbol at the end of the value to work as a multiplier.
Example:
physical: 10%
-
on-fly-actions: Actions Config
Action Executors, Action Conditions, Target Selectors, Action Target Parameters.
Example:
[PARTICLE_SIMPLE] ~name: SMOKE_NORMAL; ~amount: 1; ~offset:0,0,0; ~speed: 0; ~target: self;
-
on-hit-actions: Actions Config
Action Executors, Action Conditions, Target Selectors, Action Target Parameters.
Example:
[PARTICLE_SIMPLE] ~name: EXPLOSION_LARGE; ~offset:2,2,2; ~speed: 0.1; ~amount: 50; ~target: self;
[SOUND] ~name: ENTITY_GENERIC_EXPLODE; ~target: all;
[DAMAGE] ~amount: -50%; ~target: near;