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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for mcdatahelper-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3de63979a9a583a51e4d0861e50d2cf866fa133f4c06fbed4ac127bac5e1cb |
|
MD5 | c3eb6b8a025ee45608843324bd2ff483 |
|
BLAKE2b-256 | 2f781e238e5230c981b3b8d16ee10a13af192bdbff887ebe119ff847020302fc |