HomeJavaModsSilver's Ray Cast Library | RCL
Silver's Ray Cast Library | RCL
ModsJava

Silver's Ray Cast Library | RCL

by ItzSilver_ · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.8–26.2 · Data pack⬇ Download for 1.21.8–26.2 · Fabric⬇ Download for 1.21.8–26.2 · Forge⬇ Download for 1.21.8–26.2 · NeoForge⬇ Download for 1.21.8–26.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Description:

This is a simple datapack for my other projects that rely on random shapelike commands to make it work.

The pack is made because of the limitations of the /fill command.

Technical Handbook:

Spoiler

The pack works by these commands:

Here is the basic layout: /function rcl:cmd/<Shape>-size/<Size> {"command":"<Command>"}

<Shape> is basically the shape of the summon, here are all the supported ones:

<Size> is the size, now depending which ````` you picked, the max size will be different.

Shape Name: Minimum Size: Maximum Size:
square 1 23
sphere 1 35
hollow_square 1 50
hollow_sphere 1 50

<Command> you can put any command you like here!

Examples:

if your still unclear here are some templates and their functions!

cmd I:
/function rcl:cmd/square-size/3 {"command":"setblock ~ ~ ~ minecraft:stone"}
The following command does: summons a square cube with the width, length and height of 3 blocks with stone.

cmd II:
/function rcl:cmd/sphere-size/5 {"command":"particle minecraft:flame ~ ~ ~"}
The following command does: summons a sphere of flame partiles with a diameter of 5 blocks.

cmd III:
/function rcl:cmd/hollow_square-size/10 {"command":"execute if block ~ ~ ~ minecraft:air run summon minecraft:sheep ~ ~ ~"}
The following command does: summons a hollow square that checks if the block is made of air and summons a sheep in the location that was checked.

cmd III:
/function rcl:cmd/hollow_sphere-size/6 {"command":"execute if block ~ ~ ~ minecraft:air run setblock ~ ~ ~ minecraft:pearlescent_froglight"}
The following command does: summons a hollow sphere that checks if the block is made of air and sets the block to pearlescent froglight if the condition passes.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more