You have a wrong parent. It should be "farming:root" (namespace:path_to_the_file), not "farming/root".
The latter one assumes that you use "minecraft" namespace, that's why you get "parentId=minecraft:farming/root" in the error.
Currently it seems that you do have to replace every advancement. While you can replace just the root to hide all advancements from displaying in the "Advancements" menu, the popup notifications will still appear.
Since this is the case, have you already done something of this sort? If possible, I would like to download it from you, otherwise, I'll have to start doing it myself :/
Since this is the case, have you already done something of this sort? If possible, I would like to download it from you, otherwise, I'll have to start doing it myself :/
Sadly I don't. I would also recommend not doing so until 1.12 is released; new default advancements have constantly been added, and others moved around, so that resource would likely become outdated very quickly.
You used minecraft:locationtrigger, which doesn't have items condition and without proper conditions activates automagically; you should use inventory_changed instead.
Also, there can't be an item with 2048 metadata aka damage (FVbico already said it, duh); I think you meant to use something like count instead, but (see item):
The "count" range(!) specifies the number of items in a single stack(!!!). This cannot be used to check the number of items across the inventory as a whole.
So, in your case it would be better to use a list of items, which containes multiple copies of {item:stone, data:0, count:{min:64}}
They use multiple criterias: one for each mob, and by default you need to meet all of the criterias. To change this behavior you need to specify Requirements. (FVbico!!!!)
1. A new "distance" shared object has been added, holding various options about distance between an origin. 2. The "entity" shared object now uses the "distance" shared object instead of a "distance" range.
Triggers
1. A new "minecraft:tick" trigger has been added. 2. A new "minecraft:tame_animal" trigger has been added. 3. The "minecraft:levitation" trigger now uses the "distance" shared object instead of a "distance" range.
Display
1. A new option "show_toast" has been added. 2. A new option "announce_to_chat" has been added. There is also a new gamerule "announceAdvancements", which when false, prevents all announcements from being shown in the chat.
Unfortunately I will be gone for a couple weeks and will likely not be able to update the thread for the next couple of snapshots. Sorry!
I was able to wait until today before becoming unavailable. Changes to the thread caused by 17w18b:
Shared data
1. A new "block" shared object was added, holding data used by the "minecraft:placed_block" and "minecraft:enter_block" triggers.
Triggers
1. A new "minecraft:arbitrary_player_tick" trigger has been added. 2. A new "minecraft:consume_item" trigger has been added (item is before consumption). 3. A new "minecraft:placed_block" trigger has been added.
The thread has reached the 120k character limit. Not exactly sure what I'm going to do now, especially if more features are going to keep being added. Will probably have to use my second post in this thread to hold all the triggers, which takes up the bulk of the characters.
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?
Why isn't my advancement working? It is here:
My game output says
And my root tag is here:
And the root is showing up in minecraft but not the fishing advancement.
I don't know why the json text looks messy, but in my text editor (Notepad++) they are fine.
You have a wrong parent. It should be "farming:root" (namespace:path_to_the_file), not "farming/root".
The latter one assumes that you use "minecraft" namespace, that's why you get "parentId=minecraft:farming/root" in the error.
Since this is the case, have you already done something of this sort? If possible, I would like to download it from you, otherwise, I'll have to start doing it myself :/
Sadly I don't. I would also recommend not doing so until 1.12 is released; new default advancements have constantly been added, and others moved around, so that resource would likely become outdated very quickly.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
According to this video you can now make command block creations without ever placing a command block in your world using Advancements!
Can you please create a thread like this one on the advancement command system. (Command Contraptions with no command blocks(Mostly))
Advanced usage, like: functions, loops...etc
btw, nice thread.
Thanks.
Written by AboookhTheMaster,
Feel free to ask anything.
----|Have a nice day!|----
He already did add a part about commands reward, but going into more detail about those is not related to advancements, but just commands in general.
Data is the data value of the item, not the count.
eg, stone 1 = granite, stone 2 = polished granite.
for showing progress you need multiple criteria.
(to Toyro98)
So, in your case it would be better to use a list of items, which containes multiple copies of {item:stone, data:0, count:{min:64}}
444th post!
What is it? XD
I seemed to have completely miss that it was set to location though.
'Cos I was ninja'd by you!1!one
Ok, we'll stop here. No more comments about this stupid thing
Changes to the thread caused by 17w18a:
Shared data
1. A new "distance" shared object has been added, holding various options about distance between an origin.
2. The "entity" shared object now uses the "distance" shared object instead of a "distance" range.
Triggers
1. A new "minecraft:tick" trigger has been added.
2. A new "minecraft:tame_animal" trigger has been added.
3. The "minecraft:levitation" trigger now uses the "distance" shared object instead of a "distance" range.
Display
1. A new option "show_toast" has been added.
2. A new option "announce_to_chat" has been added. There is also a new gamerule "announceAdvancements", which when false, prevents all announcements from being shown in the chat.
Unfortunately I will be gone for a couple weeks and will likely not be able to update the thread for the next couple of snapshots. Sorry!
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
I was able to wait until today before becoming unavailable. Changes to the thread caused by 17w18b:
Shared data
1. A new "block" shared object was added, holding data used by the "minecraft:placed_block" and "minecraft:enter_block" triggers.
Triggers
1. A new "minecraft:arbitrary_player_tick" trigger has been added.
2. A new "minecraft:consume_item" trigger has been added (item is before consumption).
3. A new "minecraft:placed_block" trigger has been added.
The thread has reached the 120k character limit. Not exactly sure what I'm going to do now, especially if more features are going to keep being added. Will probably have to use my second post in this thread to hold all the triggers, which takes up the bulk of the characters.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
What's the use case for arbitrary_player_tick? I'm just not seeing it.
It will only run for 1 player, rather than all players (like tick does).
Right, the person who's been online longest. I guess I don't see any situations where I'd want to single out that person in particular.
You shouldn't rely on who gets targeted, but targetting 1 player instead of all may be useful in certain situations.
Thank you so much for this amazing guide!
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?
Is it currently possible to check if a specific slot is changed,
for example is it possible to test if a player puts a chest plate on?
Or to test for items with nbt tags in the players' inventory?
Don't think so and no, not as of now.