How to make an achivement activate when the player goes into a structure

Started by bleb on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an achivement activate when the player goes into a structure

so I've been trying to make an achievement where it activates when the player goes into a structure, like how eye spy works, but i haven't found anything that shows me how to do it, so can someone please tell me how to do this

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What you might have to do is…
Mon, 07/08/2024 - 22:23

What you might have to do is make an entity that is invisible that spawns there. If you get close it gives it to you then despawns.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you do that?
Mon, 07/08/2024 - 22:28

how do you do that?

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the entity and on it's…
Mon, 07/08/2024 - 22:50

Make the entity and on it's tick update check for the player. if found give them the achievement. Then have it despawn. Put it in the structure when building it.