How to make a custom item that points to a specific structure

Started by noeties on Sat, 10/23/2021 - 01:36

Topic category: Help with modding (Java Edition)

Last seen on 01:36, 5. Dec 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a custom item that points to a specific structure
Sat, 10/23/2021 - 01:36

For example, A compass that points to a structure

A projectile that can be thrown in the direction of a structure (like ender eye)

Last seen on 06:48, 4. Dec 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
with code. since structure…
Sat, 10/23/2021 - 04:24

with code. since structure would be on ungenerated chunks

Last seen on 09:30, 5. Dec 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can do it by having…
Sat, 10/23/2021 - 06:53

You can do it by having coordinates shown on bar if you want, not that points out to but give coordinates in the bar.

If needed this way just let me know

 

Last seen on 01:36, 5. Dec 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how would i make it show the…
Sat, 10/23/2021 - 15:24

how would i make it show the coordinates?

Last seen on 09:30, 5. Dec 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make a custom block …
Sat, 10/23/2021 - 16:13

Make a custom block (invisible) and add 1 of these blocks inside your structure

Then use template block structure (6x6 you can do till 64x64 for example or anything you want)

When return is true then send message with TEXT blocks. Like: create TEXt with X coordinate, Y coordinate and z coordinate for your invisible block which is your structure

I did it many times, it works good just do not make template too big or it will lag a bit once procedure activates

Last seen on 01:36, 5. Dec 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
can you tell me how I can do…
Sat, 10/23/2021 - 20:18

can you tell me how I can do the part with the text?

Last seen on 01:36, 5. Dec 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bruh
Sun, 10/24/2021 - 00:04

bruh

Last seen on 09:30, 5. Dec 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do not re message your…
Sun, 10/24/2021 - 07:54

Do not re message your topics please, I was sleeping, here is 7 in the morning.

I already told you use: SEND MESSAGE with text blocks (inside text blocks use what you need such as coordinates)

 

Last seen on 00:03, 5. Dec 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well, unfortunately it's…
Sun, 10/24/2021 - 10:04

Well, unfortunately it's impossible or EXTREMELY DIFFICULT.

The structures created by MCreator are not really structures, but features(Like trees, lakes), and unlike structures, they do not have a built-in method for finding their position in world

(That's why /locate command can't find them).

So even with code It's either impossible or very hard

Last seen on 09:30, 5. Dec 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just read my post above and…
Sun, 10/24/2021 - 14:10

Just read my post above and I explain how to do this.