Ray casting in Minecraft: the wrong way @gneissname
Ray casting in Minecraft: the wrong way  @gneissname
Uploaded April 2025 | Updated December 2026, 3 hours ago
I messed around with display entities to create a version of ray casting in vanilla Minecraft.

Gneiss Box: https://shop.gneiss.name/products/gneiss-box
Discord: discord.gg/DuPeGrRwzC
Patreon: patreon.com/GneissName
Bluesky: https://bsky.app/profile/gneiss.name

Raycast scripts: drive.google.com/file/d/1W-VnV2WIuc8hYXbhci6-mJAeB_lNncFs/view?usp=drive_link
Notes for if you try and use the scripts. The CSV file might require the columns be named Blocks,X,Y,Z. Axiom does not label these so you will need to add the row.
In each file you will need to update the name of the CSV, the origin or origins are where the light blocks are, the exception blocks for partial light, and the ignored blocks to ignore them.
raycast_single_summon.py will summon a scene with a single light source
raycast_multiple_summon.py will summon a scene with multiple light sources
raycast_merge_single.py will update an existing scene to a new light location
raycast_merge_multiple.py will animate a light along a path between multiple points. You will need to update your namespace and you can also adjust how many ticks between frames and how much the light moves each frame.
Some of the files might need to have output names updated. To get double distance of light drop off you can add /2 after the distance calc. I was just updating things as i went and not really trying to make a "finished" product for people.

BisectHosting was gracious enough to provide us with the Minecraft server we use for the community. If you are in the market for a server then you can use my code gneiss to get 25% off the first month when using any of their gaming servers. bisecthosting.com/gneiss
Ray casting in Minecraft: the wrong wayCaves SMP FinaleMinecraft Tower TourChanging Snap2its clock face to lightsIgneous RocksMean Shift ClusteringClair Obscur: Expedition 33 HandholdsHow does Minecraft ore compare to EarthGeology and the Munsell Color SystemHow Pixels WorkCan a furnace make stone smooth?Geology of Minecraft: Coal and Diamonds
Gneiss Name |

Ray casting in Minecraft: the wrong way

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER