Skip to main content

A small minecraft tool

Project description

MinecraftDataHelper

一个 Minecraft 数据包配方小工具

使用 pip install mcdatahelper 来安装模块

样例代码

from MinecraftDataHelper import items, tags
from MinecraftDataHelper.Recipes import *

testGen = allRecipes('testGen')

testGen.CraftingShaped.pattern('ABA').pattern('AAA').pattern('ABA').key('A', items.APPLE).key('B', items.BOOK).result(items.SAND, 64).build('test1')
testGen.CraftingShapeless.ingredients(items.BIRCH_LOG).ingredients(items.BIRCH_LOG).result(items.BIRCH_BOAT).build('test2')
testGen.CraftingShapeless.ingredients(tags.LOGS).result(items.BROWN_DYE, 64).build('1111')
testGen.Smelting.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test3')
testGen.Smithing.base(items.APPLE).addition(items.GOLD_BLOCK).result(items.GOLDEN_APPLE).build('test4')
testGen.Campfire.ingredient(items.BIRCH_LOG).result(items.BIRCH_BOAT).build('test5')
testGen.StoneCutting.ingredient(items.STONE).result(items.STONE_SLAB).count(2).build('test6')
testGen.Smoking.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test7')
testGen.Blasting.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test8')

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

mcdatahelper-1.0.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

mcdatahelper-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file mcdatahelper-1.0.0.tar.gz.

File metadata

  • Download URL: mcdatahelper-1.0.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

File hashes

Hashes for mcdatahelper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b0f0d14550e9ef2c1f440b073fec716205f351b902d7e360d7559b09b325690a
MD5 b9b3f416cc6cabc1245f7da019a8a280
BLAKE2b-256 c9da3a3452adcadef8a294f48a294a444d550813ca367ad6d9da37b248693f0b

See more details on using hashes here.

File details

Details for the file mcdatahelper-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mcdatahelper-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

File hashes

Hashes for mcdatahelper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3de63979a9a583a51e4d0861e50d2cf866fa133f4c06fbed4ac127bac5e1cb
MD5 c3eb6b8a025ee45608843324bd2ff483
BLAKE2b-256 2f781e238e5230c981b3b8d16ee10a13af192bdbff887ebe119ff847020302fc

See more details on using hashes here.

Supported by

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