Quick question: What happens if a player gets a loot table reward but their inventory is full? Does it drop on the ground beneath them as items, or is it lost?
Also, is it possible to force players to acquire custom advancements in order? For example, can I force a player to craft a wooden pickaxe before they can get the advancement for crafting a stone pickaxe?
Not sure about the loot table thing, but I think it drops on the ground.
as for forcing, you can do that by running a lot of commands, but other than that, no.
You have to overwrite all the advancements, so that they are impossible to get, and remove the display.
Overrwrite used to work before 1.12 pre 1, 2
I tried again it not overwrite it just create another root
I have 2 story:root but when I granted it with command
The clone one got granted but no announcement
So I tried it and it work perfect!
BUT there a problem.
You method is just disable root by making it error.
I saw it in Minecraft game output (logs)
It said "at line 19 column 10 path $.criteria.crafting_table.trigger "
^^^^^ I misunderstood and put parent in the json ^^^^^
EDIT : I fixed by myself (Here solution for others)
So I just need to create a new folder name "minecraft"
Then create another folder name "story" or "nether" or anythings
Then just copy/paste root inside then just write anything normally
Thanks for this. This has helped a bunch when making custom advancements.
One thing I noticed was that the "hidden" tag was never mentioned in display. Setting hidden to true hides the thing completely. I don't know if it'll ever be that useful in vanilla but ¯\_(ツ)_/¯
Thanks for this. This has helped a bunch when making custom advancements.
One thing I noticed was that the "hidden" tag was never mentioned in display. Setting hidden to true hides the thing completely. I don't know if it'll ever be that useful in vanilla but ¯\_(ツ)_/¯
It is actually used in Vanilla, for the "How Did We Get Here?" advancement. https://minecraft.gamepedia.com/Advancements#Nether. Also, this post is a bit out of date. I'm sure it will be added once Skyliner returns
Help, when I try to load this advancement (/advancement grant only DarthKaden minecraft_z:root) all I get is this error in "latest.log":
com.google.gson.JsonSyntaxException: Expected icon to be a JsonObject, was "wool"
at ra.m(SourceFile:393) ~[1.12-pre5.jar:?]
at ra.t(SourceFile:399) ~[1.12-pre5.jar:?]
at r.a(SourceFile:92) ~[1.12-pre5.jar:?]
at i$a.a(SourceFile:202) ~[1.12-pre5.jar:?]
at nq$1.a(SourceFile:52) ~[1.12-pre5.jar:?]
at nq$1.deserialize(SourceFile:48) ~[1.12-pre5.jar:?]
at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.0.jar:?]
at ra.a(SourceFile:492) ~[1.12-pre5.jar:?]
at ra.a(SourceFile:517) ~[1.12-pre5.jar:?]
at ra.a(SourceFile:537) ~[1.12-pre5.jar:?]
at nq.d(SourceFile:99) [1.12-pre5.jar:?]
at nq.a(SourceFile:72) [1.12-pre5.jar:?]
at net.minecraft.server.MinecraftServer.aM(SourceFile:1316) [1.12-pre5.jar:?]
at da.a(SourceFile:31) [1.12-pre5.jar:?]
at bj.a(SourceFile:92) [1.12-pre5.jar:?]
at bj.a(SourceFile:70) [1.12-pre5.jar:?]
at oy.d(SourceFile:848) [1.12-pre5.jar:?]
at oy.a(SourceFile:835) [1.12-pre5.jar:?]
at la.a(SourceFile:37) [1.12-pre5.jar:?]
at la.a(SourceFil
Json File:
{"display":{"description":{"text":"The Heart and Story of the Map","color":"aqua"},"icon":"wool","title":{"text":"Minecraft Z","color":"aqua"},"background":"minecraft:textures/blocks/stone.png"},"criteria":{"inv_changed-log":{"trigger":"minecraft:inventory_changed","conditions":{"items":[{"item":"log","data":0}]}}},"rewards":{},"requirements":[["inv_changed-log"]]}
Not sure about the loot table thing, but I think it drops on the ground.
as for forcing, you can do that by running a lot of commands, but other than that, no.
Wolrd/advancements tracks progress, world/data/advancements stores the advancements.
custom recipes are not a thing yet, but dinnerbone has stated that they will go in world/data/recipes (but it won't work in 1.12).
Well, not directly; you can remove the recipe from the unlocked list, and set doLimitedCrafting to true, but other than that, no.
Is it possible to set a player head as the icon for an advancement?
Player head as in steve, yes, player head as in user, no.
That does not include the icon, the icon is not the shared item object, only the shared item and entity objects got the nbt component.
:/ Aw. Thanks
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?
http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/command-blocks/2809368-1-12-custom-advancements-aka-achievements#Requirements
Is it still possible to block an original advancement?
Like blocking the whole advancement story, adventure, nether, etc.
It used to work but idk what happen to blocking.
Does it have another way to block or replace the root?
You have to overwrite all the advancements, so that they are impossible to get, and remove the display.
Overrwrite used to work before 1.12 pre 1, 2
I tried again it not overwrite it just create another root
I have 2 story:root but when I granted it with command
The clone one got granted but no announcement
It's minecraft:story/root, not story:root.
For me replacing works completely fine.
So I tried it and it work perfect!
BUT there a problem.
You method is just disable root by making it error.
I saw it in Minecraft game output (logs)
It said "at line 19 column 10 path $.criteria.crafting_table.trigger "
^^^^^ I misunderstood and put parent in the json ^^^^^
EDIT : I fixed by myself (Here solution for others)
So I just need to create a new folder name "minecraft"
Then create another folder name "story" or "nether" or anythings
Then just copy/paste root inside then just write anything normally
Thanks for this. This has helped a bunch when making custom advancements.
One thing I noticed was that the "hidden" tag was never mentioned in display. Setting hidden to true hides the thing completely. I don't know if it'll ever be that useful in vanilla but ¯\_(ツ)_/¯
It is useful for hidden advancements, that show up only when completed. It's even used in vanilla "How did we get here" =)
It is actually used in Vanilla, for the "How Did We Get Here?" advancement. https://minecraft.gamepedia.com/Advancements#Nether. Also, this post is a bit out of date. I'm sure it will be added once Skyliner returns
Yes it is actually used.
Skylinerw hit the character limit (I think), and has some other problems with his pc.
Right now there are only knowledge book that can use in trigger
Or you can use function to testfor player using book then grant that advancement
Help, when I try to load this advancement (/advancement grant only DarthKaden minecraft_z:root) all I get is this error in "latest.log":
Json File:
what am I doing wrong?!
Diamonds ftw.
Change "icon":"wool" to "icon":{"item":"wool"}