Skip to content
Liqueur Librazy edited this page Mar 17, 2019 · 4 revisions

Power: Explosion

Full Name: rpgitems:explosion

Providing Plugin: RPGItems

Default Trigger: PROJECTILE_HIT.
All available Trigger: ATTACHMENT, HIT, LEFT_CLICK, LOCATION, OFFHAND_CLICK, PROJECTILE_HIT, RIGHT_CLICK, SNEAK, SPRINT.

Description

Make a explosion that caused by the player

Properties

  • chance

    • Type: double
    • Default: 20.0

    Chance of triggering this power, in percentage

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • distance

    • Type: int
    • Default: 20

    Maximum distance

  • power

    • Type: float
    • Default: 4.0

    Power of explosion. 4 for TNT

  • triggers

    • Type: Set<Trigger>
    • Default: PROJECTILE_HIT

    Triggers of this power.

  • conditions

    • Type: Set<String>

    Conditions of this power.

Example

Note

Clone this wiki locally