Initial commit
This commit is contained in:
11
BookCraigRichardson/ifStatements/immutableVibor.py
Normal file
11
BookCraigRichardson/ifStatements/immutableVibor.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from mcpi.minecraft import Minecraft
|
||||
mc = Minecraft.create()
|
||||
|
||||
answer = input("Защитить мир от изменений? Д/Н")
|
||||
if answer == "д":
|
||||
mc.setting("world_immutable", True)
|
||||
mc.postToChat("Zashita vkl")
|
||||
|
||||
else:
|
||||
mc.setting("world_immutable", False)
|
||||
mc.postToChat("Zashita vikl")
|
||||
Reference in New Issue
Block a user