Skip to content

Mechanics: Grenade

muhahahahe edited this page Jan 5, 2018 · 1 revision

Use this mechanic to throw grenades at the target.

Attributes

Attribute Aliases Description Default
size s range of the explosion 2
amount a number of grenades 1
fuse f time in ticks till explosion 80
burn fire | bf should the explosion leave fire behind false
break breakblocks | b should the explosion break blocks false
undotnt undo | u should the broken blocks be restored true
undotime utime | ut time in ticks till restoring blocks 60
undoeffect ueffect | effect | ue should the blocks be restored with an effect true
useeyedirection ued should the caster throw the grenade to where it is looking at false
heightgain hg how high the grenade can fly 3
gravity g how much the gravity will pull the grenade to the ground 0.0975

Example

- grenade{size=2;amount=1;fuse=20;fire=false;breakblocks=true;utime=40;ueffect=true;undotnt=true} @target
This will throw 1 grenade at the target with a fuse time of 1 second and an explosion-radius of 2, it wont leave fire behind, but will break blocks which will be restored after 2 seconds with an effect.
Clone this wiki locally