Skip to main content

A Minecraft recipe calculator

Project description

Minecraft Recipe Calculator

GitHub tag (with filter) PyPI - Version GitHub all releases GitHub Release Date - Published_At

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

  1. 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.
  2. 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 of pip.

Installation

  1. 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 running pip install /path/to/mc_calculator-0.3.2-py3-none-any.whl
  2. Confirm the package installed correctly: Run mc-calculator from the terminal. If its installed correctly, you'll get a menu that looks like this:
    
          __      __             __                 ___  __   __
    |\/| /    __ /     /\  |    /    |  | |     /\   |  /  \ |__)
    |  | \__     \__  /--\ |___ \__  \__/ |___ /--\  |  \__/ |  \
    
    
    
    Options:
    1. Create a new recipe
    2. List all recipes
    3. Calculate ingredients for a recipe
    4. Credits
    5. Exit
    Choose an option:
    
    If you see this, you've installed the project successfully! Good job!

Usage:

  1. Create a New Recipe: Choose to create a new recipe and follow the prompts to enter the item name, ingredients, and their quantities.
  2. View Recipes: Select the option to view all available recipes in the database.
  3. Calculate Ingredients: Choose a recipe and specify the number of final items you wish to craft. The application will display the total ingredients required.
  4. Credits: Choose to view the credits.
  5. Close the program: Choose to close the app.

Report A Problem:

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mc_calculator-0.3.2-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file mc_calculator-0.3.2.tar.gz.

File metadata

  • Download URL: mc_calculator-0.3.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for mc_calculator-0.3.2.tar.gz
Algorithm Hash digest
SHA256 8ccee3f73427a53d6086ec6b268e4a104d50f91450771915442a201f930460b3
MD5 66bf3d94c27f2fbaf7dce5660951230e
BLAKE2b-256 f1283bce4eb03b0fbd238c6b714de5595ca14b2ecdf1508027f1eae6e78a2b5e

See more details on using hashes here.

File details

Details for the file mc_calculator-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: mc_calculator-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for mc_calculator-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dbcb7cacd387cd66a74f3efeb6fc61ebbd1a053e62811e3f17e68ec970926b3
MD5 6ab10161bb2f38b71e62f798124c287a
BLAKE2b-256 5577826a58c53806a0461e5304516620c5c99747f58b9061e1825767c7f2b0b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page