Silver's Ray Cast Library | RCL

Silver's Ray Cast Library | RCL

Yet another Ray Cast library! with even more functions?

1 510 downloads 0 followers

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:

  • square
  • sphere
  • hollow_square
  • hollow_sphere

<Size> is the size, now depending which ```<Shape>`` 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.

No gallery available for this project.

Version Minecraft Loader Download

1.1 | More Sizes!

1.1+mod

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
fabric, forge, neoforge, quilt
Download

1.1 | More Sizes!

1.1

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
datapack
Download

1.0 | The Cubes of Light

1.0+mod

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
fabric, forge, neoforge, quilt
Download

1.0 | The Cubes of Light

1.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
datapack
Download