Laser pointer! Warning: will attract (and subsequently melt) cats
This is my orbital laser. It's one of the first things I made in Figura (though back then it was much more simple and uglier). I've iterated upon it over the years, and I think it's pretty cool currently!
Since Figura is a client-side mod, the server has no clue what "laser this block" means. I have to do all the melty-melty logic on my end, then send `/setblock` and `/summon tnt` commands to the server to see the changes reflected.
You'll notice the laser also chars blocks! Leaves will catch on fire, stone will darken, logs will burn, and sand will melt into glass. This is done slowly, so the laser can affect an area over time.
It's controlled by the block I'm looking at, and is very happy to punch through anything to get to its destination. The diagonal beam isn't just for flair, it actually melts stuff along the exact path of the beam, stopping (not for long :3) if there's a block in the way.
Ooh yeah and here's an explanation about Figura if you're new to it. It's a mod where you can create a custom avatar with Blockbench models and Lua scripts, genuinely anything you think of is probably possible. I've spent the last three years creating my avatar, and I'm pretty proud of it!
The Avatar Showcase series will focus on my avatar, specifically its interactions with the environment. Figura has many functions designed to get nearby blocks, check fall distance, get block data, etc., which I use to great effect.