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

Started by bleb on

Topic category: Help with modding (Java Edition)

Last seen on 23:24, 8. Jul 2024
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

Last seen on 19:51, 2. Oct 2024
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.

Last seen on 23:24, 8. Jul 2024
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?

Last seen on 19:51, 2. Oct 2024
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.