Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
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:
squarespherehollow_squarehollow_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.


