Using this Thirst bar system, you can add a little bit more thrill to your survival world. Now you don't need to worry about hunger only, because you will also worry about your hydration, isn't it interesting?
This command creation was created in Minecraft Bedrock 1.20.81
If you're having a hard time doing this command creation, you are free to download the structure file of this creation on my discord server, starting on May 27, 2024:
/ discord
Commands:
/scoreboard objectives add thirstbar dummy thirstbar
Use this to yourself and every new player on your world:
/scoreboard players set @p thirstbar 500
Command Blocks:
1st - replaceitem entity @a[hasitem={item=potion,data=0,location=slot.hotbar,slot=8}] slot.hotbar 8 potion 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}
2nd - scoreboard players set @a[scores={thirstbar=501..}] thirstbar 500
3rd - replaceitem entity @a[hasitem={item=glass_bottle,data=0,location=slot.hotbar,slot=8}] slot.hotbar 8 glass_bottle 1 1
4th - scoreboard players add @a[hasitem={item=glass_bottle,data=1},scores={thirstbar=..500}] thirstbar 100
5th - execute as @a[hasitem={item=glass_bottle,data=1}] at @s run playsound random.levelup @a[r=30]
6th - execute as @a[hasitem={item=glass_bottle,data=1}] at @s run particle minecraft:totem_particle ~~1~
7th - replaceitem entity @a[hasitem={item=glass_bottle,data=1,location=slot.hotbar,slot=8}] slot.hotbar 8 glass_bottle 1 2
8th - scoreboard players remove @a[scores={thirstbar=1..}] thirstbar 1
9th - title @a[scores={thirstbar=451..}] actionbar Thirstbar: §l§a!!!!!!!!!!
10th - title @a[scores={thirstbar=401..450}] actionbar Thirstbar: §l§2!!!!!!!!!
11th - title @a[scores={thirstbar=351..400}] actionbar Thirstbar: §l§2!!!!!!!!
12th - title @a[scores={thirstbar=301..350}] actionbar Thirstbar: §l§e!!!!!!!
13th - title @a[scores={thirstbar=251..300}] actionbar Thirstbar: §l§e!!!!!!
14th - title @a[scores={thirstbar=201..250}] actionbar Thirstbar: §l§6!!!!!
15th - title @a[scores={thirstbar=151..200}] actionbar Thirstbar: §l§6!!!!
16th - title @a[scores={thirstbar=101..150}] actionbar Thirstbar: §l§c!!!
17th - title @a[scores={thirstbar=51..100}] actionbar Thirstbar: §l§c!!
18th - title @a[scores={thirstbar=1..51}] actionbar Thirstbar: §l§4!
19th - title @a[scores={thirstbar=0}] actionbar §4Drink or Die!
20th - title @a[scores={thirstbar=0}] actionbar §6Drink or Die!
21st - damage @a[scores={thirstbar=0}] 1 temperature
Music:
Track: ROY KNOX - Lost In Sound
Music Provided By: Magic Records
Listen To The Original: • ROY KNOX - Lost In Sound (Magic Free Release)
Fanlink: https://fanlink.to/lis
Eh kung ganitong method kaya?
#Minecraft #GameOver23 #MinecraftPE #MinecraftBE