407: Animating vanilla chains. [Minecraft Map Making]
Membership: / @infernaldevice
Ep407: Adding some cool movement to the world by animating the vanilla chains.
00:00 Intro
Version: 1.21
Help from: GalSergey
Commands, builds, hacks and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: / coppitj
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: / discord
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" and "less than" with the appropriate angled bracket.
Commands used:
Setup:
IUN: scoreboard objectives add timer dummy
CUA: scoreboard objectives add active dummy
CUA: scoreboard objectives add reverse dummy
Show markers:
RUA: execute at @e[type=marker, tag=chain] run particle dust{color:[1,0,0], scale:1} ~ ~ ~ 0.1 0.1 0.1 0 1
Summon horizontal south facing marker:
IUN: summon marker 10092 62 10135 {Tags:["chain", "chain_origin", "horz"], Rotation:[0f,0f]}
CUA: scoreboard players set @e[type=marker, distance=..3] active 1
Summon horizontal north facing marker:
IUN: summon marker 10092 62 10140 {Tags:["chain", "chain_origin", "horz"], Rotation:[180f,0f]}
CUA: scoreboard players set @e[type=marker, tag=horz, distance=..3] active 0
Summon vertical down facing marker:
IUN: summon marker 10092 62.5 10140 {Tags:["chain", "chain_origin", "vert"], Rotation:[180f,90f]}
CUA: scoreboard players set @e[type=marker, tag=vert, distance=..3] active 1
Summon vertical up facing marker:
IUN: summon marker 10092 57.5 10140 {Tags:["chain", "chain_origin", "vert"], Rotation:[0f,-90f]}
CUA: scoreboard players set @e[type=marker, distance=..3] active 0
Controller:
RUA: execute as @e[type=marker, tag=chain_origin, tag=vert, scores={active=1}] at @s unless
entity @e[type=block_display, tag=chain, tag=chain_vert, distance=..0.5, limit=1] run
summon block_display ~ ~ ~ {Tags:["chain", "chain_vert"], block_state:{Name:"chain", Properties:{axis:"z"}},
transformation:{left_rotation:[0f,0f,0f,1f], right_rotation:[0f,0f,0f,1f], scale:[1f,1f,0.5f], translation:[-0.5f,-0.5f,-0.25f]}, teleport_duration:1}
CUA: execute as @e[type=block_display, tag=chain, tag=chain_vert] at @s rotated as @n[type=marker, tag=chain_origin, tag=vert, distance=..0.1] run tp @s ^ ^ ^0.1 ~ ~
CUA: execute as @e[type=marker, tag=chain_origin, tag=horz, scores={active=1}] at @s
unless entity @e[type=block_display, tag=chain, tag=chain_horz, distance=..0.5, limit=1] run
summon block_display ~ ~ ~ {Tags:["chain", "chain_horz"], block_state:{Name:"chain", Properties:{axis:"z"}},
transformation:{left_rotation:[0f,0f,0f,1f], right_rotation:[0f,0f,0f,1f], scale:[0.5f,1f,0.5f], translation:[-0.25f,0f,-0.25f]}, teleport_duration:1}
CUA: execute as @e[type=block_display, tag=chain, tag=chain_horz] at @s rotated as @n[type=marker, tag=chain_origin, tag=horz, distance=..0.1] run tp @s ^ ^ ^0.1 ~ ~
CUA: execute as @e[type=block_display, tag=chain] unless score @s reverse matches 1 at @s run tp @s ^ ^ ^0.05
CUA: execute as @e[type=block_display, tag=chain] if score @s reverse matches 1 at @s run tp @s ^ ^ ^-0.05
CUA: execute at @e[type=marker, tag=chain_origin, tag=horz] run kill @e[type=block_display, tag=chain, tag=chain_horz, distance=..0.1, limit=1]
CUA: execute at @e[type=marker, tag=chain_origin, tag=vert] run kill @e[type=block_display, tag=chain, tag=chain_vert, distance=..0.1, limit=1]
Reverse:
IUN: execute as @e[type=block_display, tag=chain] store success score @s reverse unless score @s reverse matches 1
CUA: execute as @e[type=marker, tag=chain_origin] store success score @s active unless score @s active matches 1
Other Videos By Infernal Device
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.