Skip to content

Raycast Between

Bi-entity Action Type.

Raycasts to the target entity from the actor entity.

Type ID: apugli:raycast_between

Fields

Field Type Default Description
block_action Block Action optional If set, the block action to be executed on blocks targeted by this raycast.
block_condition Block Condition optional If set, the block condition that must be met by any block that is targeted in order to do actions on it.
particle Particle Effect The particle effect that is displayed on the ray.
spacing Float 0.5 If there is a particle effect, the spacing between the particles displayed on the ray.

Example

"bientity_action": {
    "type": "apugli:raycast_between",
    "particle": "minecraft:dragon_breath"
}
This example is a visual raycast with the minecraft:dragon_breath particle type from the actor to the target.