Mechanic

beam

Creates a laser beam between two points

Configuration Fields (9)

NameTypeDefaultDescription
onHitSkill
onhit, oh
Optional<Skill>The skill to execute when the beam hits an entity
onTickSkill
ontick, ot
Optional<Skill>The skill to execute each tick
duration
d
PlaceholderDuration20Duration of the beam in ticks
tickInterval
i
PlaceholderDuration1Tick interval of the beam
material
m
MaterialEND_RODMaterial of the beam
rotationSpeed
rs
float0Rotation speed of the beam in degrees per tick
hitRadius
r
double1.0Hit radius of the beam
startYOffset
syo
double0Start Y offset
endYOffset
eyo
double0End Y offset

Examples & Notes

Examples

  Skills:
  - beam{d=100;rs=2;syo=100} @selflocation

Universal Mechanic Options

Mentioned by

Author:
YourName
Community-maintained documentation for the Mythic plugin ecosystem.