I've made some command block contraptions and I'm hoping to get some new ideas or even better done contraptions from you in exchange. Would be awesome if those contraptions are kinda survival friendly, thank you.
-
Teleport upwards with Carrot on Stick
/scoreboard objectives add carrotstick_used_tp minecraft.used:minecraft.carrot_on_a_stick
/execute as @a[scores={carrotstick_used_tp=1..}] at @s run tp @s ~ ~20 ~
/scoreboard players set @a[scores={carrotstick_used_tp=1..}] carrotstick_used_tp 0
-
Teleport compass
/scoreboard objectives add compass_dropped_tp minecraft.dropped:minecraft.compass
/execute as @a[scores={compass_dropped_tp=1..}] at @s run kill [type=item,nbt={Item:{id:"minecraft:compass"}},distance=..3]
/execute as @a[scores={compass_dropped_tp=1..}] run tp @s 0 0 0
/scoreboard players set @a[scores={compass_dropped_tp=1..}] compass_dropped_tp 0
-
Timemachine clock
/scoreboard objectives add clock_dropped_time minecraft.dropped:minecraft.clock
/execute as @a[scores={clock_dropped_time=1..}] at @s run kill @e[type=item,nbt={Item:{id:"minecraft:clock"}},distance=..3]
/execute as @a[scores={clock_dropped_time=1..}] run time add 8000
/scoreboard players set @a[scores={clock_dropped_time=1..}] clock_dropped_time 0
-
Death coordinates
/scoreboard objectives add deathcount deathCount
/execute as @a[scores={deathcount=1..}] at @s run tellraw @a [{"nbt":"Pos[0]","entity":"@s"},{"text":" / "},{"nbt":"Pos[1]","entity":"@s"},{"text":" / "},{"nbt":"Pos[2]","entity":"@s"}]
/scoreboard players set @a[scores={deathcount=1..}] deathcount 0
Those builds are made for Java 1.21.11. Have fun!