RayTrace - From Location (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 2.6.0
Syntax
ray[ ]trace from %location% along %vectors% [with max distance %number%] [with ray size %number%] [while ignoring passable blocks] [while (ignoring|only allowing) %entities/entity types%] [while going through %blocks/item types%]Description
RayTrace from a location along a vector. Default max distance = 'maximum target block distance' in Skript's config. RaySize = entity bounding boxes will be uniformly expanded (or shrunk) by this value before doing collision checks (default = 0.0). IngorePassableBlocks = Will ignore passable but collidable blocks (ex. tall grass, signs, fluids, ..). Ignoring/Only Allowing Entities/EntityTypes = Will ignore/only allow the entities/entitytypes from the final ray. Going through Blocks/ItemTypes = Will ignore the blocks/itemtypes from the final ray.
Examples
set {_ray} to ray trace from location of target block along vector(0.25,0.3,0) with max distance 50