You should change the reward section to remove commands and replace it with functions. Also, the logic has been switched. What you have as or is now and, and vice versa.
Rollback Post to RevisionRollBack
I love messing around in minecraft. Here's a tip: Don't give me access to OP. Or TNT.
Another question, lets say I had 6 triggers. I need any of 1-3 and any of 4-6 to complete the advancement. Is this possible?
Yes,
just look under requirements, you have to label each requirement under criteria, and keep in mind in a recent update they changed "or" and "and" around.
this has to be under the same area as criteria, but not inside of it. Make sure to look out for commas, also rename the criteria if needed.
"requirements": [
["1","2","3"],
["4","5","6"]
]
Rollback Post to RevisionRollBack
I love messing around in minecraft. Here's a tip: Don't give me access to OP. Or TNT.
Is it possible to detect when a player picks up an item with a custom name (renamed on an anvil)? For instance, an advancement would trigger when you pick up a gold ingot named "cheese"?
Functions are basically chained command blocks, but more efficient and can be called from advancements, a command and a gamerule.
Look it up for more information.
According to the wiki, it looks like functions can only be applied to advancement rewards, and not triggers. Though I'm not the most experienced with command work in MInecraft so maybe I'm missing something here. xP
A second, hidden, non displayed, advancement, that has the trigger tick, that runs the function; the function checks the stat and inventory, grants the displayed advancement on success and revokes the tick advancement on failure.
Whatever you do, do not enter the kitchen. There's a monster in there. Its been there ever since that fateful night. The denizens of the mansion do not go near the kitchen. They can feels its presence.
So.. Is there a way to keep all the functions of 1.12 but use commands or something to revert the 'advancements' to achievements?
You can overwrite all vanilla advancements to be without display tag and impossible, or only root ones to be invalid; and then recreate old achievements via advancements. Most can be done only via advancements, others may require "hidden" advancements (with no display tag) and function rewards.
You can overwrite all vanilla advancements to be without display tag and impossible, or only root ones to be invalid; and then recreate old achievements via advancements. Most can be done only via advancements, others may require "hidden" advancements (with no display tag) and function rewards.
Other than that - no.
Well, open inventory is no longer possible (no stat, command or trigger for it).
You should change the reward section to remove commands and replace it with functions. Also, the logic has been switched. What you have as or is now and, and vice versa.
I love messing around in minecraft. Here's a tip: Don't give me access to OP. Or TNT.
Yes,
just look under requirements, you have to label each requirement under criteria, and keep in mind in a recent update they changed "or" and "and" around.
this has to be under the same area as criteria, but not inside of it. Make sure to look out for commas, also rename the criteria if needed.
"requirements": [
["1","2","3"],
["4","5","6"]
]
I love messing around in minecraft. Here's a tip: Don't give me access to OP. Or TNT.
wait, acheivments are gone?
you got ROOZED!
Yes, they are replaced with advancements, as they are superior.
cant they both exist
you got ROOZED!
No, advancements are superior, data driven and easy to fix, unlike achievements.
Almost all achievements have reappeared as advancements though.
You can grant a criteria only for each parent, but you can only set one parrent in the tree.
This thread is not dead, my reply before yours was just 4 days ago.
Is it possible to detect when a player picks up an item with a custom name (renamed on an anvil)? For instance, an advancement would trigger when you pick up a gold ingot named "cheese"?
Not without adding functions to do the work, it seems.
By adding functions, do you mean setting up command blocks alongside the advancements?
Functions are basically chained command blocks, but more efficient and can be called from advancements, a command and a gamerule.
Look it up for more information.
According to the wiki, it looks like functions can only be applied to advancement rewards, and not triggers. Though I'm not the most experienced with command work in MInecraft so maybe I'm missing something here. xP
A second, hidden, non displayed, advancement, that has the trigger tick, that runs the function; the function checks the stat and inventory, grants the displayed advancement on success and revokes the tick advancement on failure.
I think it would be more efficient to use trigger inventory_changed, not tick, as we should check inventory only when it changes =)
It was an example
So.. Is there a way to keep all the functions of 1.12 but use commands or something to revert the 'advancements' to achievements?
is "player" a valid entity type for advancement entity criteria, such as from the trigger, player_killed_entity?
Whatever you do, do not enter the kitchen. There's a monster in there. Its been there ever since that fateful night. The denizens of the mansion do not go near the kitchen. They can feels its presence.
You can overwrite all vanilla advancements to be without display tag and impossible, or only root ones to be invalid; and then recreate old achievements via advancements. Most can be done only via advancements, others may require "hidden" advancements (with no display tag) and function rewards.
Other than that - no.
Yes
Well, open inventory is no longer possible (no stat, command or trigger for it).