Skip to content
Liqueur Librazy edited this page Oct 27, 2019 · 4 revisions

Power: Projectile

Full Name: rpgitems:projectile

Providing Plugin: RPGItems

Default Trigger: RIGHT_CLICK.
All available Trigger: ATTACHMENT, BOW_SHOOT, HIT, HIT_TAKEN, HURT, LEFT_CLICK, LIVINGENTITY, OFFHAND_CLICK, RIGHT_CLICK, SNEAK, SPRINT.

Description

Launches projectile

Properties

  • amount

    • Type: int
    • Default: 5

    Amount of projectiles

  • applyForce

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • burstCount

    • Type: int
    • Default: 1

    Burst count

  • burstInterval

    • Type: int
    • Default: 1

    Interval between bursts

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Required

    Cooldown of the power, in ticks.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • gravity

    • Type: boolean
    • Default: true

    Whether the projectile have gravity

  • isCone

    • Type: boolean
    • Required

    Whether launch projectiles in cone

  • isIncendiary

    • Type: Boolean

    Whether this Explosive's explosion causes fire

  • projectileType

    • Type: Class<? extends Projectile>
    • Default: snowball

    Type of projectiles

  • range

    • Type: int
    • Default: 15

    Range will projectiles spread, in degree

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • setFireballDirection

    • Type: boolean
    • Default: false

    Whether to set Fireball' direction so it won't curve

  • speed

    • Type: double
    • Default: 1.0

    Speed of projectiles

  • suppressArrow

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

  • yield

    • Type: Double

    Radius affected by this Explosive's explosion

Example

Note

Clone this wiki locally