270: Block that cracks slowly and then breaks when stood on. [Minecraft Map Making]

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



Minecraft
Game:
Minecraft (2011)
Duration: 28:22
708 views
21


Ep270: A block that cracks when the player stands on it. If they don't get off in time then it will break and disappear. If there is no player on the block then it will heal itself back to normal.

Version: 1.19.4

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

Create Block:
IUN: summon block_display 61 56 -9983 {Tags:["myDisplay"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.505f,0f,-0.505f],scale:[1.01f,1.01f,1.01f]},block_state:{Name:"minecraft:frosted_ice",Properties:{age:"0"}},brightness:{sky:15,block:15}}
CUA: setblock 61 56 -9983 glass replace

Controller:
RUA: execute at @a unless entity @e[type=marker, tag=myMarker, distance=0..0.9] if block ~ ~-0.1 ~ glass align xz run summon marker ~0.5 ~ ~0.5 {Tags:["myMarker"]}
CUA: execute as @e[type=marker, tag=myMarker] at @s if entity @p[distance=0..0.9] run scoreboard players add @s timer 1
CUA: execute as @e[type=marker, tag=myMarker, scores={timer=1..}] at @s unless entity @p[distance=0..0.9] run scoreboard players remove @s timer 1

CUA: execute at @e[type=marker, tag=myMarker, scores={timer=1}] positioned ~ ~-1 ~ run data modify entity @e[tag=myDisplay,limit=1,sort=nearest] block_state.Properties.age set value "0"

CUA: execute at @e[type=marker, tag=myMarker, scores={timer=10}] positioned ~ ~-1 ~ run data modify entity @e[tag=myDisplay,limit=1,sort=nearest] block_state.Properties.age set value "1"
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=10}] positioned ~ ~-1 ~ run playsound minecraft:block.glass.break master @a ~ ~ ~ 0.4 1.5 0

CUA: execute at @e[type=marker, tag=myMarker, scores={timer=20}] positioned ~ ~-1 ~ run data modify entity @e[tag=myDisplay,limit=1,sort=nearest] block_state.Properties.age set value "2"
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=20}] positioned ~ ~-1 ~ run playsound minecraft:block.glass.break master @a ~ ~ ~ 0.6 1.5 0

CUA: execute at @e[type=marker, tag=myMarker, scores={timer=30}] positioned ~ ~-1 ~ run data modify entity @e[tag=myDisplay,limit=1,sort=nearest] block_state.Properties.age set value "3"
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=30}] positioned ~ ~-1 ~ run playsound minecraft:block.glass.break master @a ~ ~ ~ 0.8 1.5 0

CUA: execute at @e[type=marker, tag=myMarker, scores={timer=40}] positioned ~ ~-1 ~ run kill @e[type=block_display, tag=myDisplay, distance=0..0.1]
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=40}] positioned ~ ~-1 ~ run playsound minecraft:block.glass.break master @a ~ ~ ~ 1 1.5 0
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=40}] positioned ~ ~-1 ~ run setblock ~ ~ ~ air replace
CCA: execute at @e[type=marker, tag=myMarker, scores={timer=40}] positioned ~ ~-1 ~ run particle block glass ~ ~ ~ 0.2 0.2 0.2 0 50
CCA: kill @e[type=marker, tag=myMarker, scores={timer=40}]

CUA: execute as @e[type=marker, tag=myMarker, scores={timer=0}] at @s if entity @p[distance=0.5..] run kill @s
CUA: execute as @e[type=marker, tag=myMarker] unless score @s timer = @s timer run scoreboard players set @s timer 0




Other Videos By Infernal Device


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.
2024-03-21270: Block that cracks slowly and then breaks when stood on. [Minecraft Map Making]
2024-03-19269: Using tellraw to show each player their own score. [Minecraft Map Making]
2024-03-18CoppitCraft Castle 043: Upgrading to Loyalty Armour thanks to the bunny.
2024-03-17268: Experiments with a dynamic light that follows the player. [Minecraft Map Making]
2024-03-16267: Updated Snowball with an area of effect. [Minecraft Map Making]
2024-03-15266: Snowball with an area of effect. Update in Pinned comment. [Minecraft Map Making]
2024-03-13265: Slow arrows like Super Hot or Matrix. [Minecraft Map Making]
2024-03-11CoppitCraft Castle 041: Naughty shells and terraces.
2024-03-11264: Modify text on 1.20+ signs. [Minecraft Map Making]
2024-03-09263: Teleport players that enter or leave a random shaped area. [Minecraft Map Making]
2024-03-08057: The last planets. Modded Minecraft Series]



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 181,722 views spread across 860 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.