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

Power: Force Field

Full Name: rpgitems:forcefield

Providing Plugin: RPGItems

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

Description

Creates a force field around the player

Properties

  • base

    • Type: int
    • Required

    Base of force field

  • 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.

  • height

    • Type: int
    • Required

    Height of force field

  • radius

    • Type: int
    • Required

    Radius of force field

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

  • ttl

    • Type: int
    • Default: 100

    Time to live

Example

Note

Clone this wiki locally