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

Power: Dummy

Full Name: rpgitems:dummy

Providing Plugin: RPGItems

Default Trigger: RIGHT_CLICK.
All available Trigger: ATTACHMENT, BOW_SHOOT, HIT, HIT_TAKEN, HURT, LEFT_CLICK, LIVINGENTITY, OFFHAND_CLICK, PICKUP_OFF_HAND, PLACE_OFF_HAND, PROJECTILE_HIT, RIGHT_CLICK, SNEAK, SNEAKING, SPRINT, SWAP_TO_MAINHAND, SWAP_TO_OFFHAND, TICK, TICK_OFFHAND.

Description

Won't do anything but give you fine control

Properties

  • checkDurabilityBound

    • Type: boolean
    • Default: true

    If to check durability bound of this item

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cooldownKey

    • Type: String
    • Default: dummy

    Key for cooldowning

  • cooldownResult

    • Type: TriggerResult
    • Default: COOLDOWN

    Result returned when in cooldown

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • costByDamage

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • costByEnchantment

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • costResult

    • Type: TriggerResult
    • Default: COST

    Result returned when failed to comsume durability

  • display

    • Type: String

    Display text of this power.

  • doEnchReduceCost

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • enchCostPercentage

    • Type: double
    • Default: 6.0

    MISSING_LANG<message.power.no_description>

  • enchantmentType

    • Type: String
    • Default: unbreaking

    MISSING_LANG<message.power.no_description>

  • globalCooldown

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • showCDWarning

    • Type: boolean
    • Default: true

    Show cooldown warning

  • successResult

    • Type: TriggerResult
    • Default: OK

    Result returned when success

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

Example

Note

Clone this wiki locally