Skip to main content

Custom Projectiles <projectiles>

Use this module to create custom projectiles. These can be referenced by id in loadouts.

Projectile <projectile>

This represents a custom projectile that can be shot from bows or items.


<projectiles>
<projectile id="tnt" name="{tnt-bow}" type="primed tnt" cooldown="11s" />
</projectiles>

<!-- Translate {tnt-bow} -->

<locales>
<locale lang="en">
<tnt-bow>TNT Bow</tnt-bow>
</locale>
</locales>

Projectile Attributes
AttributeDescriptionTypeDefault
idThe globally unique ID of this feature. This can be used to reference this feature from other parts of the XML.Feature ID
nameName of the custom projectile for use in death messages and cool-down alerts.Localized String
typeThe type of entity to shoot out of the player.EntityType
Possible Values
damageAmount of damage the projectile will do when it hits the player.Number (With Decimal)1.0
velocityThe velocity of the projectile.Number (With Decimal)1.0
loadoutThe id of the strike loadout for reference.Strike Loadout ID
cooldownThe time it takes for the projectile item to be used again after use. This attribute denotes a period of time and can either be in seconds or in a period format. Formats are as follows: d - days h - hours m - minutes s - seconds These can be combined to create any period. No spaces are allowed.Duration0
mountIf the player should mount the projectile after it is fired.True/Falsefalse