-
Notifications
You must be signed in to change notification settings - Fork 47
beam en_US
Full Name: rpgitems:beam
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
.
Fires a beam, controlled by parameters.
-
beamAmount
- Type: int
- Default: 1
Beam amount in each burst.
-
behavior
- Type: Beam$Behavior
- Default: PLAIN
Behavior of beam.
-
behaviorParam
- Type: String
- Default: {}
Parameters for 'behavior', formatted in JSON.
-
bounce
- Type: int
- Default: 0
Bounce times when beam hit a block.
-
burstCount
- Type: int
- Default: 1
Burst times.
-
burstInterval
- Type: int
- Default: 10
Interval between bursts.
-
conditions
- Type: Set<String>
Conditions of this power.
-
cone
- Type: double
- Default: 10.0
Fires at a random direction in cone.
-
cooldown
- Type: long
- Default: 0
Cooldown of the power, in ticks.
-
cost
- Type: int
- Default: 0
Durability cost of the power.
-
damage
- Type: double
- Default: 20.0
Damage of beam.
-
extraData
- Type: Object
Particle parameter (r,g,b,size), input null for empty.
-
gravity
- Type: double
- Default: 0.0
Gravity on beam, blocks/s^2. (disabled when homing starts)
-
hitSelfWhenBounced
- Type: boolean
- Default: false
Will beam hit yourself when it bounces back.
-
homing
- Type: double
- Default: 0.0
Turning radius during homing, 0 for not homing.
-
homingAngle
- Type: double
- Default: 30.0
Target locking cone angle.
-
homingMode
- Type: Beam$HomingMode
- Default: ONE_TARGET
Target select mode.
-
homingRange
- Type: double
- Default: 50.0
Target locing range.
-
homingTarget
- Type: Beam$Target
- Default: MOBS
MISSING_LANG<message.power.no_description>
-
ignoreWall
- Type: boolean
- Default: true
Wheather a flying beam ignore solid blocks.
-
length
- Type: int
- Default: 10
Total length of this beam (beam ends when either length or ttl reached)
-
mode
- Type: Beam$Mode
- Default: BEAM
Spawning mode, Beam or Projectile.
-
offsetX
- Type: double
- Default: 0.0
X offset of particle.(increases hitbox)
-
offsetY
- Type: double
- Default: 0.0
Y offset of particle.(increases hitbox)
-
offsetZ
- Type: double
- Default: 0.0
Z offset of particle.(increases hitbox)
-
particle
- Type: Particle
- Default: LAVA
Particle type.
-
particleSpeed
- Type: double
- Default: 0.0
Particle parameter 'speed'.
-
pierce
- Type: int
- Default: 0
Numbers of Mob a beam can pierce throuth.
-
requireHurtByEntity
- Type: boolean
- Default: true
Whether only run this power when hurt by entity.
-
spawnsPerBlock
- Type: double
- Default: 2.0
Particle spawning times in a block, higher sPB increases particle density.
-
speed
- Type: double
- Default: 20.0
Fly speed.
-
speedBias
- Type: String
Expression for calculating speed.
-
suppressMelee
- Type: boolean
- Default: false
MISSING_LANG<message.power.no_description>
-
ticksBeforeHoming
- Type: int
- Default: 0
Ticks before homing starts.
-
triggers
- Type: Set<Trigger>
- Default: RIGHT_CLICK
Triggers of this power.
-
ttl
- Type: int
- Default: 100
Times to live (beam ends when either length or ttl reached)
Powered by NyaaCat Community.
This wiki is licensed under a Creative Commons Attribution-ShareAlike license (CC BY-SA) version 4.0.