Blockframe

BlockFrame preview system,creates non-blocks entities,similar to axiom from minecraft,very useful for command decos

Building Chat / Commands Decorative

Download (5 KB)
For Luanti 5.14 and above

How do I install this?

BlockFrame 🔗

📦 BlockFrame is a Minetest mod that allows you to preview and precisely place blocks (or any item) before putting them in the world.
Ideal for detailed building or testing positions before confirming.


Features 🔗

  • Preview blocks with adjustable size, rotation, and mirroring.
  • Accepts any item, not only blocks.
  • Adjustable snap (grid) for precise positioning.
  • Absolute or relative placement to the player's view.
  • Undo and delete commands with item return.
  • Help and cancel commands.

Commands 🔗

  • /blockframe <args> — Create or update the block preview.
    Possible args:

    • size=x,y,z — Block size (1 value = x=y=z)
    • rotate=x,y,z — Rotation in degrees for X, Y, and Z axes
    • mirror=x|y|z — Mirroring
    • pos=x,y,z — Absolute position of the block
    • step=value — Snap for aiming

    Examples: /blockframe size=0.5 /blockframe size=1,0.5 rotate=0,90,0 /blockframe pos=1,2,3 step=0.1 /blockframe mirror=x rotate=45,0,90

  • /blockframe_set — Place the block in the world based on the preview.

  • /blockframe_cancel — Cancel the active preview.

  • /blockframe_undo — Remove the last placed block and return the item.

  • /blockframe_del — Delete a targeted block and return the item.

  • /blockframe_help — Show help with examples.


Mod Files 🔗

blockframe/ ├── init.lua # Complete mod code including preview, placed blocks, commands, and memory ├── README.md # This file └── LICENSE.txt # CC BY 3.0 License


Installation 🔗

  1. Copy the blockframe folder into your Minetest mods/ directory.
  2. Enable the mod in your world (world.mt or the mods menu).
  3. Start the world and use /blockframe_help to get started.

Example Usage 🔗

  1. Hold a block or item.

  2. Type: /blockframe size=1,0.5 rotate=0,90,0

  3. Adjust the preview using pos or step.

  4. Confirm with /blockframe_set.

  5. To undo, use /blockframe_undo.


License 🔗

This mod is distributed under the Creative Commons Attribution 3.0 (CC BY 3.0) license.
You can copy, modify, and use it commercially as long as you give credit to the original author.
More info: https://creativecommons.org/licenses/by/3.0/

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.