Advertisement
KodingKid

Minecraft Nether Portal Maker Game in Python

Aug 31st, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.53 KB | None | 0 0
  1. import time
  2. import system
  3. import random
  4. obsidian_block = 0
  5. pickaxe = 0
  6. if pickaxe == 0:
  7.     mining = "fist"
  8.     time.sleep(10)
  9.     pickaxe + 1
  10. if pickaxe == 1:
  11.     mining = "wooden pickaxe"
  12.     time.sleep(4)
  13.     pickaxe + 1
  14. if pickaxe == 2:
  15.     mining = "stone pickaxe"
  16.     time.sleep(15)
  17.     pickaxe + 1
  18. if pickaxe == 3:
  19.     mining = "iron pickaxe"
  20.     time.sleep(1)
  21.     pickaxe + 1
  22. if pickaxe == 4:
  23.     mining = "gold pickaxe"
  24.     time.sleep(125) #it takes 155 seconds to go from fist to diamond - or almost 3 minutes
  25.     pickaxe - 1
  26. if pickaxe == 5:
  27.     mining = "diamond pickaxe"
  28.     time.sleep(1960) #it takes 2115 seconds to go from fist to netherite - or almost 36 minutes
  29.     pickaxe + 1
  30.     while (True):
  31.         time.sleep(11)
  32.         obsidian_block + 1 #it takes 265 seconds to finish the game with diamond - or almost 4:30
  33. if pickaxe == 6:
  34.     mining = "netherite pickaxe"
  35.     while (True):
  36.         time.sleep(9)
  37.         obsidian_block + 1 #it takes 2205 seconds to finish the game with netherite - or almost 37 minutes
  38. else:
  39.     print("Stop hacking!")
  40.     time.sleep(1)
  41.     os.system('shutdown -s')
  42. end_game = input()
  43. if end_game == "yes" or "Yes":
  44.     if obsidian_block < 10:
  45.         if obsidian_block > 46:
  46.             building = random.randint(5, 30)
  47.             time.sleep(building)
  48.             print("Well done!")
  49.             print("You built the nether portal! ALl with just a" +mining)
  50.             print("The end!")
  51. else:
  52.     print("Can u dont?")
  53.     time.sleep(1)
  54.     os.system('shutdown -s')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement