278: Linking heartbeat sound effect to player health level. [Minecraft Map Making]

Subscribers:
3,860
Published on ● Video Link: https://www.youtube.com/watch?v=OTT6p1wDJDI



Minecraft
Game:
Minecraft (2011)
Duration: 11:26
866 views
34


Ep278: Taking the heartbeat sound effect from last episode and linking it to the player health, so as they get more damaged the heart beats faster.

Version: 1.19

Idea: GalSergey

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" with the appropriate angled bracket. Ascii code: 62

Commands used:

Setup:
IUN: scoreboard objectives add timer dummy
CUA: scoreboard objectives add raw.health health
CUA: scoreboard objectives add health dummy
CUA: scoreboard players set #beat timer 4
CUA: scoreboard players set #multiply health 4

Controller:
RUA: scoreboard players add @a timer 1
CUA: execute as @a run scoreboard players operation @s health = @s raw.health
CUA: execute as @a run scoreboard players operation @s health *= #multiply health
CUA: execute as @a if score @s health matches ..20 run scoreboard players set @s health 20
CUA: execute as @a if score @s timer = #beat timer at @s run playsound block.note_block.basedrum master @s ~ ~ ~ 1 0.5 1
CUA: execute as @a if score @s timer "greater than"= @s health at @s store success score @s timer run playsound block.note_block.basedrum master @s ~ ~ ~ 1 0.5 1




Other Videos By Infernal Device


2024-04-16286: Mario coin block experiment. [Minecraft Map Making]
2024-04-14285: Scroll of taming. Make those pets love you. [Minecraft Map Making]
2024-04-12284: Better chairs and custom tools to place them easily. [Minecraft Map Making]
2024-04-11283: Drop item to temporarily remove nearby mobs AI. [Minecraft Map Making]
2024-04-10CoppitCraft Castle 046: House exteriors and the main bridge.
2024-04-09282: Updated patrolling guards. [Minecraft Map Making]
2024-04-08281: Patrolling guards that execute commands when they spot you. [Minecraft Map Making]
2024-04-07CoppitCraft Castle Egg Hunt: Getting all the eggs in the Easter Event.
2024-04-07280: Zombie Guards that execute commands when they spot you. [Minecraft Map Making]
2024-04-05279: Proximity Detector. Faster beeping means closer target. [Minecraft Map Making]
2024-04-03278: Linking heartbeat sound effect to player health level. [Minecraft Map Making]
2024-04-02277: Atmospheric and dynamic beating heart sound effect. [Minecraft Map Making]
2024-04-01276: Summon sheep with random colour and score in one command. [Minecraft Map Making]
2024-03-30275: Summon random colour sheep in one command. [Minecraft Map Making]
2024-03-28274: Book with an interactive index. [Minecraft Map Making]
2024-03-26CoppitCraft Castle 045: Transporting the librarians.
2024-03-26273: Updated Freeze Scroll Test. [Minecraft Map Making]
2024-03-25272: Freeze Scroll Test. Freeze all entities nearby when dropped. [Minecraft Map Making]
2024-03-24Fixed & Reuploaded: CoppitCraft Castle 044: Villagers see the light of day.
2024-03-23271: Working chairs using interaction entities. [Minecraft Map Making]
2024-03-22CoppitCraft Castle 044: Villagers see the light of day.



Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,428 views spread across 865 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.