attachments en_US - NyaaCat/RPGItems-reloaded GitHub Wiki
Power: Attachments
Full Name: rpgitems:attachments
Providing Plugin: RPGItems
Default Trigger: RIGHT_CLICK
.
All available Trigger: ATTACHMENT
, BOW_SHOOT
, HIT
, HIT_TAKEN
, HURT
, LEFT_CLICK
, OFFHAND_CLICK
, RIGHT_CLICK
, SNEAK
, SNEAKING
, SPRINT
, TICK
, TICK_OFFHAND
.
Description
Can use other RPGItems as attachments. Firing this power will trigger ATTACHMENT trigger of attachments.
Properties
-
allowedInvSlots
- Type: List<Integer>
allowed inventory slot number. -1 to disable inventory
-
allowedItems
- Type: Set<String>
RPGItems/Groups' id or name that are leagal attachment for this item
-
allowedSlots
- Type: List<EquipmentSlot>
allowed equipment slot
-
conditions
- Type: Set<String>
Conditions of this power.
-
limit
- Type: int
- Default: 0
maximum number of attachments
-
requireHurtByEntity
- Type: boolean
- Default: true
Whether only run this power when hurt by entity.
-
selectors
- Type: Set<String>
Selectors for this power.
-
triggers
- Type: Set<Trigger>
- Default: RIGHT_CLICK
Triggers of this power.