RaytraceEffect - Septillihedron/SuperheroesPlusSchema GitHub Wiki
RaytraceEffect - An object
Properties
ConditionList
conditions - OptionalThe list of conditions
Defaults to {}
EffectList
effects - OptionalThe list of effects
Defaults to {}
mode - Required enum
Allowed values
- ALL
- OTHER
- SELF
The mode of operation
Defaults to SELF
maxDistance - Optional number
The maximum distance the raytrace can collide
Defaults to 10
FluidCollisionMode
collisionMode - OptionalThe collision behavior when a fluid gets hit by the raytrace
Defaults to NEVER
ignorePassables - Optional boolean
Whether to ignore passable blocks (ex. tall grass, signs, fluids)
Defaults to true
alwaysHit - Optional boolean
If true, if the raytrace does not hit anything, the location will be set as the maxDistance in the direction the user is looking
Defaults to true
raySize - Optional number
The collision size of the ray
Defaults to 1.0
raysize - Optional number
The collision size of the ray
Defaults to 1.0