ComputerCraft Forums

ComputerCraft => Ask a Pro => Topic started by: RandomDwag on Oct 09, 2024, 04:37 AM

Title: get players position and/or grid like monitor
Post by: RandomDwag on Oct 09, 2024, 04:37 AM
I've been browsing about ComputerCraft and what I find out is that there's a getPlayer() command or something like detect players. And I saw in a random video on youtube that it's doable to make radar like, my question is

Is it possible to detect player and get their position like coords/azimuth and/or elevation
If it is possible or not, can I make like a grid of chunks/block on my monitor periprals? I admit that I haven't play ComputerCraft yet since I'm busy but I'm interested in it. Excuse me if I'm asking this in a wrong way since this is my first time being here
Title: get players position and/or grid like monitor
Post by: Lupus590 on Oct 09, 2024, 09:17 AM
There are addon mods that add entity trackers many of which can track players.

But if you want base CC, you can carry a pocket computer and track your player indirectly by tracking the pocket computer. I would make the pocket computer use the GPS API and then relay those coordinates to wherever you are wanting to track.
Title: get players position and/or grid like monitor
Post by: RandomDwag on Oct 10, 2024, 03:16 AM
Having a player guided tracker sounds very nice for information, and for the addons.

Can I ask where to find and what addon it is? I'm on the Discord server with tag ddrakov, I've been searching for quite a while but haven't found any luck of it
Title: get players position and/or grid like monitor
Post by: Lupus590 on Oct 10, 2024, 09:29 AM
Which addon mod you can use will depend on your modloader and minecraft version.
Title: get players position and/or grid like monitor
Post by: ComputerCrafter on Nov 28, 2024, 12:26 PM
There are add-ons like Ducky Peripherals that add radar blocks in which you can track mobs (not just players!).
You can check it out here: https://modrinth.com/mod/ducky-periphs (https://modrinth.com/mod/ducky-periphs)