
# -> If attacker is not tagged player then return
execute on attacker \
    unless entity @s[type=player,tag=OverlyRealistic.Player.TempPlayer] run \
        return fail

# -> If entity is on ground then create blood splatter
execute if predicate overly_realistic:global/is_on_ground run \
    summon minecraft:block_display ~ ~0.5 ~ {Tags:["OverlyRealistic.GroundBloodSplatter","OverlyRealistic.GroundMarking"], block_state: {Name: "minecraft:redstone_wire", Properties: {east: "none", north: "none", power: "0", south: "none", west: "none"}}, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [1.35f, 1.0f, 1.35f], translation: [-0.5f, -0.5f, -0.5f]}}
