196: Track players and entities with a compass. [Minecraft Map Making]

Subscribers:
3,920
Published on ● Video Link: https://www.youtube.com/watch?v=6EA4-DK5a3A



Minecraft
Game:
Minecraft (2011)
Duration: 14:58
107 views
10


Ep196: Tracking target entities using a compass.

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 timer dummy

Timer:
RUA: scoreboard players add #compass timer 1
CUA: execute if score #compass timer matches 100 run scoreboard players reset #compass timer
CCA: setblock -20 56 305 redstone_block replace

Controller:
IUN: clear @a[tag=hunter] compass{hunterCompass:true}
CUA: data modify storage target:data type.Pos set from entity @e[tag=mySpider,limit=1] Pos
CUA: data modify storage target:data type.LodestonePos.X set from storage target:data type.Pos[0]
CUA: data modify storage target:data type.LodestonePos.Y set from storage target:data type.Pos[1]
CUA: data modify storage target:data type.LodestonePos.Z set from storage target:data type.Pos[2]
CUA: execute at @a[tag=hunter] run summon item ~ ~ ~ {Tags:["myCompass"],Item:{id:"minecraft:compass",Count:1b,tag:{hunterCompass:true,LodestoneDimension:"minecraft:overworld",LodestoneTracked:false}}}
CUA: execute as @e[type=item,tag=myCompass] run data modify entity @s Item.tag.LodestonePos set from storage target:data type.LodestonePos




Other Videos By Infernal Device


2023-10-24033: "Who's a good boy!?" [Run for your Life. Modded Minecraft Series]
2023-10-23201: Changing pages and creating books on a lectern. [Minecraft Map Making]
2023-10-23200: Controlling villagers with books. [Minecraft Map Making]
2023-10-20032: The Minecraft Gods hate me today! [Run for your Life. Modded Minecraft Series]
2023-10-19199: Book controlled 2 axis moving platform. [Minecraft Map Making]
2023-10-18031: Fighting the Mega Flower Vinocorne. [Run for your Life. Modded Minecraft Series]
2023-10-17198: Small moving platforms. [Minecraft Map Making]
2023-10-16030: Curses! I can't kill them!. [Run for your Life. Modded Minecraft Series]
2023-10-12197: Display block basics. [Minecraft Map Making]
2023-10-11029: This looks like pleasant place. [Run for your Life. Modded Minecraft Series]
2023-10-10196: Track players and entities with a compass. [Minecraft Map Making]
2023-10-08028: Opening more portals. [Run for your Life. Modded Minecraft Series]
2023-10-07027: The scariest final boss ever! Well, probably not! [Run for your Life. Modded Minecraft Series]
2023-10-04195: Detect Target Block output using commands. [Minecraft Map Making]
2023-09-30026: Ur-Ghast's, Yeti's and SnowQueen's. Oh My! [Run for your Life. Modded Minecraft Series]
2023-09-28194: Two stage sliding door using a timer. [Minecraft Map Making]
2023-09-26025: Continue the Twilight Crawl. [Run for your Life. Modded Minecraft Series]
2023-09-25024: The ragey episode. :) [Run for your Life. Modded Minecraft Series]
2023-09-23193: Day counter. [Minecraft Map Making]
2023-09-22192: World time specific commands. [Minecraft Map Making]
2023-09-21023: Twilight Rush!!. Well, more of a crawl. [Run for your Life. Modded Minecraft Series]



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 182,939 views spread across 869 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.