198: Small moving platforms. [Minecraft Map Making]
Ep198: Small one block moving platforms that can be controlled by placing blocks as markers.
Java Version: 1.19
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.
Commands used:
Setup:
IUN: scoreboard objectives add platformDir dummy
CUA: scoreboard objectives add timer dummy
Summon platform:
IUN: summon armor_stand ~ 57 ~4 {Tags:["platform"],Marker:1b,Invisible:1b,Passengers:[{id:"minecraft:shulker",NoAI:1b,Silent:1b,NoGravity:1b,Invulnerable:1b,ActiveEffects:[{Id:14,Amplifier:1,Duration:1000000,ShowParticles:0b}],Tags:["platform"],DeathLootTable:"empty"},{id:"falling_block",NoGravity:1,Time:-1000000,DropItem:0,BlockState:{Name:"minecraft:light_gray_wool"},Tags:["platform"]}]}
Remove platform:
IUN: execute as @e[tag=platform] at @s run tp @s ~ -2122 ~
CUA: kill @e[tag=platform]
Reset timer:
IUN: scoreboard players reset check timer
Controller:
RUA: execute as @e[tag=platform,scores={platformDir=1}] at @s run tp @s ~0.05 ~ ~
CUA: execute as @e[tag=platform,scores={platformDir=3}] at @s run tp @s ~-0.05 ~ ~
CUA: execute as @e[tag=platform,scores={platformDir=2}] at @s run tp @s ~ ~ ~0.05
CUA: execute as @e[tag=platform,scores={platformDir=4}] at @s run tp @s ~ ~ ~-0.05
CUA: scoreboard players add check timer 1
CUA: execute if score check timer matches 20 run execute as @e[tag=platform] at @s if block ~-0.6 ~ ~ red_wool run scoreboard players set @s platformDir 1
CUA: execute if score check timer matches 20 run execute as @e[tag=platform] at @s if block ~0.6 ~ ~ red_wool run scoreboard players set @s platformDir 3
CUA: execute if score check timer matches 20 run execute as @e[tag=platform] at @s if block ~ ~ ~-0.6 red_wool run scoreboard players set @s platformDir 2
CUA: execute if score check timer matches 20 run execute as @e[tag=platform] at @s if block ~ ~ ~0.6 red_wool run scoreboard players set @s platformDir 4
CUA: execute if score check timer matches 20 run scoreboard players reset check timer
Other Videos By Infernal Device
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.