
Canva
A canva that we can draw on and whatever we draw will become a real building and we get to choose which size
00—neoforgeServer1.21.1mod
Canva (server-only) adds a text-driven building canvas you can sketch and turn into real structures.
- Commands:
/canva new <width> <height>starts a blank canvas (2–64 in each dimension)./canva setrow <row> <pattern>writes an entire row; use.,_, or spaces for empty cells./canva setcell <x> <y> <symbol>paints a single cell./canva showpreviews the canvas (dots show empty)./canva palettelists symbols and their block types./canva build <scale> [height] [x y z]places the canvas in the world, scaling each cell horizontally byscale; vertical height defaults to the same value. If no position is given, the build starts two blocks in front of you. Rows extend forward from your facing; columns extend to your right.
- Palette symbols:
#stone bricks,Poak planks,Gglass,Bbricks,Wwhite wool,Lglowstone; empty symbols skip placement.
Implementation notes and behavior:
- The mod runs only on dedicated servers (
@Mod(... dist = Dist.DEDICATED_SERVER)), with no client assets or custom registries. - Canvases are stored in memory per player; they reset when the server restarts.
- Builds simply place blocks and will overwrite existing terrain; there is no undo or protection.
- Scaling and height are capped to keep builds reasonable (scale up to 32, height up to 64).
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.