How do I make a advancement for "kill a creature" procedure?

Started by Gustavior on Fri, 10/16/2020 - 18:52

Topic category: Help with modding (Java Edition)

Last seen on 13:15, 4. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a advancement for "kill a creature" procedure?
Fri, 10/16/2020 - 18:52

Hello

I have a Question. How do I make a procedure, that appear an Achievement when a Player slains a creature? I already made the Achievement but i need support with the procedure.

example:
I want to create a boss-enemy. When the player beats it the player will get an Achievement.(it is similar to the Vanilla Achievement "The Beginning" by defeating the Wither)

Last seen on 21:36, 24. Nov 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Global Trigger: {Entity Dies…
Mon, 11/23/2020 - 16:00

Global Trigger: {Entity Dies}

If: [is [event/target entity] (sub)type of {boss}]

Do: [Give {advancement} to [source entity]]

 

Make sure to set the trigger in the Advancement itself to impossible