Make achivement

Started by YM2IT on Tue, 11/15/2022 - 13:31

Topic category: Help with modding (Java Edition)

Last seen on 13:38, 21. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make achivement
Tue, 11/15/2022 - 13:31

Hi, I'm new to MCreator and lately i thought of a custom achievement mod. Let me explain, so you will get the achievement Reaper from killing a total of 100,000 undead (any) mobs.

So first i have the element (achievement) itself in workspace: https://imgur.com/a/84ftce2
Let's talk about the problem now. So i created a procedure here https://imgur.com/a/FCbrLQH since i can't code much in the uh element thing (https://imgur.com/a/Yz6DzEi).
The problem here is i can't seem to find a block to check if player has killed 100,000 any undead mobs yet so it can grant the achivement.
 

Hope you can help, thank you!

Last seen on 02:40, 22. Jan 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try using variables…
Wed, 11/16/2022 - 09:40

Try using variables. Specifically the variable scope  PLAYER_PERSISTENT and make sure it's a number type variable

Last seen on 13:38, 21. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As i was saying I'm new to…
Wed, 11/16/2022 - 11:49

As i was saying I'm new to MCreator and also Java i don't understand