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

Power: Throw

Full Name: rpgitems:throw

Providing Plugin: RPGItems

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

Description

Spawn and throw a entity

Properties

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

  • display

    • Type: String
    • Required

    Display text of this power.

  • entityData

    • Type: String

    NBT data of entity

  • entityName

    • Type: String
    • Required

    Name of entity thrown

  • isPersistent

    • Type: boolean
    • Default: false

    Whether to make entity persistent

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • speed

    • Type: double
    • Required

    Speed of entity thrown

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

Example

Note

Clone this wiki locally