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

Power: Teleport

Full Name: rpgitems:teleport

Providing Plugin: RPGItems

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

Description

teleport you in the direction you're looking in or to the place where the projectile hit

Properties

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • distance

    • Type: int
    • Default: 5

    Maximum distance

  • targetMode

    • Type: Teleport$TargetMode
    • Default: DEFAULT

    Mode of finding teleport target

  • triggers

    • Type: Set<Trigger>
    • Default: PROJECTILE_HIT,RIGHT_CLICK

    Triggers of this power.

Example

Note

Clone this wiki locally