Initial commit

This commit is contained in:
BarsTigerMeowcat
2020-01-26 12:49:01 +02:00
commit 8bed7171c2
125 changed files with 3212 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
from mcpi.minecraft import Minecraft
mc = Minecraft.create()
import shelve
blockIDs = shelve.open("idsFile.db")
ans = input("Введи название блока или букву 'д', чтобы добавить блокТайп: ")
if ans != "д":
if ans in blockIDs:
print(blockIDs[ans])
elif ans not in blockIDs:
print("Вы еще не добавили блока с таким названием :(")
elif ans == "д":
nameOfBlock = input("Введите название блока, который хотите добавить: ")
blockNumber = input("Введите номер этого блока: ")
blockIDs[nameOfBlock] = blockNumber
blockIDs.close()