Skip to content

A lightweight desktop application for calculating relative coordinates for Minecraft command blocks.

License

Notifications You must be signed in to change notification settings

hXR16F/commandblock-relative-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMD Block Relative Calculator
A lightweight desktop application for calculating relative coordinates for Minecraft command blocks.


CMD Block Relative Calculator

A lightweight desktop application for calculating relative coordinates for Minecraft command blocks. Designed to assist with commands like /setblock, /fill, /clone by converting absolute coordinates into relative ones.

Built with Python and Tkinter.

Features

  • Calculate relative coordinates between command block and destination
  • Smart coordinates extraction using RegEx
  • Compute /setblock command relative coordinates
  • Compute full /fill and /clone command relative coordinates from two source corners and a destination
  • Copy results to clipboard with a single click
  • Automatically save logs to preserve previous calculations
  • Light & dark theme

Installation

Option 1: Download precompiled Windows version

For Windows users, a standalone .exe file is available — no Python installation required.

  1. Go to the Releases page.
  2. Download the latest .exe version from the Assets section.
  3. Run the file — no setup needed.

Note

This program was compiled using Nuitka with the following parameters:

python -m nuitka "commandblock-relative-calculator.py" --windows-icon-from-ico=icon.ico --onefile --enable-plugin=tk-inter --windows-console-mode=disable

Option 2: Run from source (cross-platform)

Tested on Python 3.11.

  1. Clone the repository:
git clone https://github.com/hXR16F/commandblock-relative-calculator
  1. Install dependencies:
pip install -r requirements.txt
  1. Launch the app:
python commandblock-relative-calculator.py

Support

If you support my work or like my projects, you can donate me some money. Thank you 💙