341: Top down camera view, remote controlled entity with button detection. [Minecraft Map Making]

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



Minecraft
Game:
Minecraft (2011)
Duration: 27:12
280 views
19


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


2024-06-15350: Is player following checkpoint path? Race lap counter. [Minecraft Map Making]
2024-06-14349: Did a player throw this item? Experiments. [Minecraft Map Making]
2024-06-13348: Torches that players can light and put out. [Minecraft Map Making]
2024-06-12347: Web Potion. Detecting where potions land. [Minecraft Map Making]
2024-06-11346: Infectious zombie plague. [Minecraft Map Making]
2024-06-10CoppitCraft Castle 050: Trees and a statue.
2024-06-10345: Code entry by copying held block to item display. [Minecraft Map Making]
2024-06-09344: Item frame that displays the first item in a chest. [Minecraft Map Making]
2024-06-08343: Updated. Big moving chain. [Minecraft Map Making]
2024-06-07342: Detecting weather. [Minecraft Map Making]
2024-06-06341: Top down camera view, remote controlled entity with button detection. [Minecraft Map Making]
2024-06-05340: Moving mechanical chain decoration. [Minecraft Map Making]
2024-06-04339: Rotating room. [Minecraft Map Making]
2024-06-03338: Tool for detecting and counting hidden ores. [Minecraft Map Making]
2024-06-02337: Concept: Magic staff with homing missiles. [Minecraft Map Making]
2024-05-31336: Checking light levels at the players position. [Minecraft Map Making]
2024-05-30335: UPDATED: Run command every n ticks to player near tagged entity. [Minecraft Map Making]
2024-05-30334: Waystones. [Minecraft Map Making]
2024-05-29333: Text display force fields. [Minecraft Map Making]
2024-05-29332: Villager dialogue using clickable tellraw. [Minecraft Map Making]
2024-05-27331: Run command every n ticks to player near tagged entity. [Minecraft Map Making]



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.