Function: detect_arrows()
Skeletons are spamming your base with arrows again! You've set up a tripwire arrow detector to figure out how dangerous each shot is.
Ask: “How many arrows are flying in?”
For each arrow, ask its speed level.
If speed < 10 → print: “Wooden arrow – no big deal.”
If 10–50 → print: “Blocked it with my shield!”
If >50 → print: “YIKES! That one’s enchanted – take cover!”
Function: enter_mine()
You found a hidden mine entrance in the mesa biome! But it’s locked with a command block password... can you crack it?
Let the player try to guess the password. They get 3 tries.
If they enter "bedrock123" → print: “Nice! Door opened!”
Else → print: “Nope – redstone says no.”
After 3 wrong tries → print: “Alarm triggered! Silverfish incoming!”
Function: test_sprint_speed()
You’re wearing full netherite and sprinting from a ravager raid. How fast should you go before you run out of hunger?
Ask for a sprint level (1–10).
Loop from 1 to that number.
If ≤ 3 → print: “Way too slow – you're toast.”
If 4–7 → print: “Perfect – dodging mobs like a pro!”
If >7 → print: “Speedy! But your hunger bar is dying…”
Function: grade_players()
You’re hosting a PvP tournament in the End! XP level decides the rank of each player.
Ask: “How many players to rank?”
For each player, ask for their XP level.
<30 → print: “Newbie – give ‘em a wooden sword.”
30–69 → print: “Solid fighter – they’re iron material.”
70+ → print: “Elite player – diamond champ status!”
Function: unlock_redstone_door()
You’ve discovered a redstone vault full of loot! But it needs the right 4-digit code to open…
Keep asking for a code until they enter 1234.
If too high → print: “Boom! Redstone exploded!”
If too low → print: “Signal too weak – try again.”
If correct → print: “YES! The vault opens – grab the diamonds!”
Function: simulate_elytra_jumps()
You're learning to fly with Elytra off an End City tower using fireworks. Don’t crash into the ground!
Ask how many jumps to simulate.
For each jump, ask the height.
<1 → print: “Nope – you faceplanted.”
1–2 → print: “Clean glide – 10/10 landing.”
2 → print: “Too high! You hit the top of a shulker tower!”
Function: scan_mobs()
You’ve built a supercharged mob grinder and are scanning each mob’s power before it enters.
Ask how many mobs to scan.
For each one, input its power level.
<30 → print: “Weak mob – easy XP.”
30–69 → print: “Tough mob – stay alert.”
≥70 → print: “Boss mob detected – this one might explode!”
Function: manage_inventory()
You just raided a Woodland Mansion and your inventory is overloaded! Time to unload.
Ask for the total inventory weight.
While weight > 0, subtract 100 each round.
≥1000 → print: “You’re crawling – can’t sprint!”
500–999 → print: “You’re walking slow.”
<500 → print: “You’re light – zoom zoom!”
Function: check_portal_zones()
You’re testing strange gas leaks around glitched Nether portals. Can you tell which ones are safe?
Ask how many portal zones to check.
For each one, ask the gas level.
<20 → print: “Toxic zone – lava hazard!”
20–70 → print: “Breathable – but wear a potion!”
70 → print: “RUN! That portal’s about to collapse!”
Function: test_minecarts()
You're building the biggest rollercoaster in Minecraft. Test each minecart to make sure it’s the perfect speed.
Ask how many minecarts to test.
For each one, ask its speed.
<20 → print: “Slow ride – guests falling asleep.”
20–40 → print: “Nice! Fun and safe.”
40 → print: “Too fast! The cart jumped the track!”