How to check if a player has an achievement?

Started by Assistance Importer on Mon, 08/06/2018 - 18:55

Topic category: Help with MCreator software

Last seen on 06:47, 17. Jan 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to check if a player has an achievement?
Mon, 08/06/2018 - 19:03 (edited)

Hey guys, so I'm new to this whole modding scene (I just got MCreator yesterday, and so far it looks fun!) and I need some help. I was messing around and was trying to create a block that gives me an advancement and sends me a message, but only when I don't have a specific advancement, but I'm having a problem where it keeps sending the message despite the fact that I have the advancement. Like I said, I'm new, so I'm probably just being dumb right now. If it helps, I'm using the 1.12.2 version of MCreator.

(I'm having trouble uploading an image, sorry. If it helps, I'm using an if statement with a logic variable that goes something along the lines of "if: get Local:has_test_achievement=false do: the rest of the code)

Edited by Assistance Importer on Mon, 08/06/2018 - 19:03
Last seen on 05:20, 11. Mar 2020
Joined Apr 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Could you upload a…
Mon, 08/06/2018 - 21:28

Could you upload a screenshot of exactly what you're doing?