CustomAdvancements icon indicating copy to clipboard operation
CustomAdvancements copied to clipboard

Suggestion: Achieved

Open Tikkle opened this issue 1 year ago • 1 comments

I'd like to say, a great job with the plugin. Works well 👍

My suggestion is to add an advancement type known as "Achieved".

Basically, it works as follows: If "Player" completes "Achievement1", "Achievement2", and "Achievement3" from Advancement Tree "Tree" it completes "Achievement4" from Adv. Tree "Tree2"

advancements:
  achievedexample:
    type: achieved
    value: tree.achievement1,tree.achievement2,tree.achievement3
    amount: 0 #ignored 
    display:
      name: Achieved Milestone
      item: GOLD_BLOCK
      description: Complete every advancement in Tree tab
      gui_location: auto
      minecraft-gui-frame: "GOAL"
      minecraft-toast: true
      minecraft-chat-announce: true
    rewards:
      command:
        type: consolecommand
        value: give %player% DIAMOND 1

You can use BlazeandCave's Advancement Pack as a reference to how this would work: image

I don't know if there is a way to already achieve this using "Requirements", if there is, could you show me an example?

Tikkle avatar Mar 11 '23 07:03 Tikkle

Good idea, I will add this in a future update!

rowan-vr avatar Mar 28 '23 16:03 rowan-vr