A Minecraft recipe calculator
Project description
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 --version
in 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 --version
in 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
pip3
instead ofpip
.
Installation
- Install the package: Install the package via pip by running
pip install mc-calculator
- If you've downloaded the
.whl
file 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-calculator
from 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!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mc_calculator-0.3.2.tar.gz
(11.9 kB
view hashes)
Built Distribution
Close
Hashes for mc_calculator-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbcb7cacd387cd66a74f3efeb6fc61ebbd1a053e62811e3f17e68ec970926b3 |
|
MD5 | 6ab10161bb2f38b71e62f798124c287a |
|
BLAKE2b-256 | 5577826a58c53806a0461e5304516620c5c99747f58b9061e1825767c7f2b0b8 |