341: Top down camera view, remote controlled entity with button detection. [Minecraft Map Making]
Ep341: What an unclear title. Making a remote controlled entity that we can control using a top down camera, can also track if the user is pressing the A or D keys.
Version: 1.19.4
Commands, builds 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:
Summons:
IUN: summon boat 47 54 -9943 {Tags:["remote", "target_boat"], Type:"oak"}
CUA: summon armor_stand 47 64 -9943 {Tags:["remote", "target_stand"], Invisible:true, Marker:true, Rotation:[0f,90f]}
CUA: summon villager 47 56 -9943 {Tags:["remote", "target_villager"], NoAI:true}
Kill:
IUN: kill @e[tag=remote]
Start:
IUN: tag @p add viewing
Controller:
RUA: execute as @e[tag=target_boat] at @s rotated as @s run tp @e[tag=target_villager] ~ ~2 ~ ~ ~
CUA: gamemode spectator @p[tag=viewing]
CUA: spectate @e[type=armor_stand,tag=target_stand,sort=nearest,limit=1] @p[tag=viewing]
CUA: ride @p[tag=viewing] mount @e[type=boat,tag=target_boat,limit=1,sort=nearest]
Controller Win:
RUA: execute positioned 52 58 -9948 if entity @e[type=villager, distance=0..0.5] run tag @p remove viewing
CCA: gamemode creative @p
CCA: tp @p[tag=!dev] 53 56 -9953
CCA: setblock 48 56 -9954 redstone_block
CCA: title @p title {"text":"You made it!","color":"green"}
BUTTON DETECTION:
Setup:
IUN: scoreboard objectives add rotation dummy
CUA: scoreboard objectives add rotation_old dummy
Controller Buttons:
RUA: execute as @e[tag=target_boat] store result score @s rotation run data get entity @s Rotation[0]
CUA: execute as @e[tag=target_boat, limit=1] if score @s rotation "greater than" @s rotation_old run title @p actionbar {"text":"Pressing: D"}
CUA: execute as @e[tag=target_boat, limit=1] if score @s rotation "less than" @s rotation_old run title @p actionbar {"text":"Pressing: A"}
CUA: execute as @e[tag=target_boat, limit=1] if score @s rotation = @s rotation_old run title @p actionbar {"text":"Pressing: Nothing"}
CUA: execute as @e[tag=target_boat] run scoreboard players operation @s rotation_old = @s rotation
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.