Minecraft Recipe Calculator
Overview
The Minecraft Recipe Calculator is a Python-based tool designed for Minecraft. It tells you how many items you need to make a specific recipe.
Key Features
- Recipe Creation: Users can create custom recipes by specifying the name of the item and the ingredients required, along with their quantities. This now supports nested recipes.
- Recipe Database: Recipes are saved in a SQLite database, allowing for easy retrieval and management. This also helps in preventing the creation of duplicate recipes.
- Ingredient Calculation: The application can calculate the total amount of each ingredient needed based on the desired quantity of the final crafted item.
- Recipe Browsing: Users can view a list of all saved recipes and select one for ingredient calculation.
How to Use
Pre-Requisites
- Make sure you have python installed: Validate this by running
python --versionin your terminal.- If you don't, you can get it here: Python Release 3.11.7.
- If it outputs
Python 3.11.7(or higher), then congratulations, you've installed forbidden snake technology.
- Make sure you have pip installed: Check if you have pip installed by running
pip --versionin your terminal.- If you don't have pip, don't worry! You can easily install it by following the instructions on the pip official website
- Note: Depending on your system, you might need to use
pip3instead ofpip.
Installation
- Install the package: Install the package via pip by running
pip install mc-calculator- If you've downloaded the
.whlfile from the releases, you can install it by runningpip install /path/to/mc_calculator-0.3.2-py3-none-any.whl
- If you've downloaded the
- Confirm the package installed correctly: Run
mc-calculatorfrom the terminal. If its installed correctly, you'll get a menu that looks like this:
If you see this, you've installed the project successfully! Good job!__ __ __ ___ __ __ |\/| / __ / /\ | / | | | /\ | / \ |__) | | \__ \__ /--\ |___ \__ \__/ |___ /--\ | \__/ | \ Options: 1. Create a new recipe 2. List all recipes 3. Calculate ingredients for a recipe 4. Credits 5. Exit Choose an option:
Usage:
- Create a New Recipe: Choose to create a new recipe and follow the prompts to enter the item name, ingredients, and their quantities.
- View Recipes: Select the option to view all available recipes in the database.
- Calculate Ingredients: Choose a recipe and specify the number of final items you wish to craft. The application will display the total ingredients required.
- Credits: Choose to view the credits.
- Close the program: Choose to close the app.
Report A Problem:
- Found a bug? Got an idea to make mc-calculator even more useful? Raise an Issue here!
Metadata
Release files for mc-calculator 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mc_calculator-0.3.2.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mc_calculator-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / mc_calculator-0.3.2.tar.gz
| Download URL | mc_calculator-0.3.2.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ccee3f73427a53d6086ec6b268e4a104d50f91450771915442a201f930460b3
|
|
BLAKE2b-256 checksum How to use checksums |
f1283bce4eb03b0fbd238c6b714de5595ca14b2ecdf1508027f1eae6e78a2b5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / mc_calculator-0.3.2-py3-none-any.whl
| Download URL | mc_calculator-0.3.2-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dbcb7cacd387cd66a74f3efeb6fc61ebbd1a053e62811e3f17e68ec970926b3
|
|
BLAKE2b-256 checksum How to use checksums |
5577826a58c53806a0461e5304516620c5c99747f58b9061e1825767c7f2b0b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|