Mechanic

projectile

Launches a custom projectile at the target

Aliases

p

Configuration Fields (10)

NameTypeDefaultDescription
type ProjectileTypeNORMALThe type of the projectile, NORMAL or METEOR
gravity
g
PlaceholderFloat0The gravity modifier the projectile uses
bounces PREM
bounce
booleanfalseThe projectile can bounce
bounceVelocity
bv
float0.9The velocity modifier of the bounce
highaccuracymode
ham
ProjectileTriOptionPLAYERS_ONLYWhether to use high-accuracy mode, which raytraces every tick to ensure the projectile cannot ever go anything
hugSurface
hs
ProjectileSurfaceModefalseWhether the projectile will hug the surface
hugLiquid
hugWater, hugLava
ProjectileSurfaceModefalseIf hugSurface is set, determines whether the projectile will hug liquid
heightFromSurface
hfs
float
maxClimbHeight
mch
float3The number of attempts the projectile will try to increase its y-location before terminating the projectile
maxDropHeight
mdh
float10The number of attempts the projectile will try to decrease its y-location before terminating the projectile

Universal Mechanic Options

Mentioned by

Author:
Ashijin
Generated from @Mythic* annotations in the MythicMobs source.