Added "DataVersion" and "Tags" to entities from 15w32b. Moved "Team" to its own section since it's restricted to living mobs, not available for all entities. The "id" Short tag for item data is removed and "EntityTag" can be used with spawn eggs.
you dont have to use an armorstand. i made a system that can detect right-clicking without using them, and it works (or, it should work) in 1.9 snapshots. i know it works in 1.8
Updated the thread visually and implemented changes made in the snapshots.
1. "DataVersion" is no longer on all entities, but remains on players.
2. Added the "Tags" tag.
3. "Health" as a short and "HealF" are both gone. "Health" as a float has been implemented.
4. "id" short tag for item data has been removed.
5. "minecraft:shield" item has been added to the game, uses the "BlockEntityTag" tag to determine patterns just like banners.
6. Added "minecraft:lingering_potion" item.
7. Spawn eggs now use the "EntityTag" tag to both merge custom data like armor stands did in 1.8 as well as to specify which entity the spawn egg creates.
8. The ThrownPotion entity has a new "Lingering" tag.
9. The EnderCrystal entity has a new "BeamTarget" tag.
10. Added AreaEffectCloud entity.
11. The EndGateway block has a new "ExactTeleport" tag and "Life" was renamed to "Age".
How exactly is the "id" tag removed? Also, why is Mojang making all of these changes to NBT that are going to break custom maps?
Quick example, where the following doesn't work in 1.9 and defaults to "stone" instead of "command_block":
/summon Item ~ ~1 ~ {Item:{id:137,Count:1}}
In previous versions, the tag-type of "id" will be checked as a "Short" type. In 1.8, it gets translated into the "id" tag with tag-type "String". But in 1.9, "id" as a Short type has been removed completely. It's specifically to continue phasing out numerical IDs, as was warned a few versions ago (and then /give, /setblock, and other commands prevented the use of numerical IDs in their syntax).
For those that had updated to name IDs instead of numerical, this changes nothing. For anybody that had been using numerical IDs in the past, they were told to update.
Quick example, where the following doesn't work in 1.9 and defaults to "stone" instead of "command_block":
/summon Item ~ ~1 ~ {Item:{id:137,Count:1}}
In previous versions, the tag-type of "id" will be checked as a "Short" type. In 1.8, it gets translated into the "id" tag with tag-type "String". But in 1.9, "id" as a Short type has been removed completely. It's specifically to continue phasing out numerical IDs, as was warned a few versions ago (and then /give, /setblock, and other commands prevented the use of numerical IDs in their syntax).
For those that had updated to name IDs instead of numerical, this changes nothing. For anybody that had been using numerical IDs in the past, they were told to update.
So technically, the enchantment tag could be required to use the name IDs in the future too? Also, what would be the correct way to do the example command above in 1.9?
So technically, the enchantment tag could be required to use the name IDs in the future too? Also, what would be the correct way to do the example command above in 1.9?
Yea, and same with potion effects. Both of them already have name IDs implemented in /effect and /enchant, although they don't have anything for NBT data directly.
The Meaning of Life, the Universe, and Everything.
Join Date:
3/13/2012
Posts:
55
Member Details
Other bug, I tried (after dropped, above command block with "scorebord players set..." command, some items and differents potions with few leaping potions bottles):
/scoreboard objectives add PotionTest dummy
/scoreboard players set @e[r=2] PotionTest 1 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:leaping"},Damage:0s}}
To try to teleport to me only leaping potions bottles but not working, command block "scorebord players set..." write in result case: "[01:58:12] The dataTag does not match for bd......."
Other bug, I tried (after dropped, above command block with "scorebord players set..." command, some items and differents potions with few leaping potions bottles):
/scoreboard objectives add PotionTest dummy
/scoreboard players set @e[r=2] PotionTest 1 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:leaping"},Damage:0s}}
To try to teleport to me only leaping potions bottles but not working, command block "scorebord players set..." write in result case: "[01:58:12] The dataTag does not match for bd......."
Ok, so because you are using EntityTag I am assuming the potion test thing is also for 1.9, but in case you were in 1.8, that is the reason it isn't working.
Otherwise your command works as intended. Check to see if the item is within 2 blocks of the command block. If that doesn't work, you are testing for the wrong item. You are currently testing for a drinkable jump boost 1 potion that lasts for 3 minutes. For an extended potion, replace "leaping" with "long_leaping", and for a leaping 2 potion, replace "leaping" with "strong_leaping". Also, this is for the item form, not a thrown potion.
Skyliner, is there a post about how potion effect's information are changing in the snapshots? I would find that helpful, thanks.
Rollback Post to RevisionRollBack
I have a small YouTube channel and would greatly appreciate it if you were to check me out!!
As far as I could tell, the only change in NBT data between 15w33c and 15w34a is the new "powered" byte tag for command blocks (added it at the bottom of the OP). When the command block is receiving a redstone signal, the value will be 1.
EDIT: And I can confirm that the CustomPotionEffects issue for splash/lingering potions has been resolved.
EDIT2: Also added "life" and "power" to all Fireball entities. "direction" now requires exactly 3 Doubles to be listed in order to exist.
HI, im trying to make a right click detection for a slime ball and for some reason i cant testfor the slime ball in a armor stands hand. Can you help?
EDIT: Its 1.9 just for clarification
Added "DataVersion" and "Tags" to entities from 15w32b. Moved "Team" to its own section since it's restricted to living mobs, not available for all entities. The "id" Short tag for item data is removed and "EntityTag" can be used with spawn eggs.
You'll have to check in the new "HandItems" tag:
Note that it's checking either hand slot and we cannot specify which slot to check.
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/
you dont have to use an armorstand. i made a system that can detect right-clicking without using them, and it works (or, it should work) in 1.9 snapshots. i know it works in 1.8
could you maybe add some info about the new AreaEffectCloud entity? heres a reddit post about it https://www.reddit.com/r/Minecraft/comments/3gqelo/15w33a_lingering_potion_clouds_areaeffectcloud/
Updated the thread visually and implemented changes made in the snapshots.
1. "DataVersion" is no longer on all entities, but remains on players.
2. Added the "Tags" tag.
3. "Health" as a short and "HealF" are both gone. "Health" as a float has been implemented.
4. "id" short tag for item data has been removed.
5. "minecraft:shield" item has been added to the game, uses the "BlockEntityTag" tag to determine patterns just like banners.
6. Added "minecraft:lingering_potion" item.
7. Spawn eggs now use the "EntityTag" tag to both merge custom data like armor stands did in 1.8 as well as to specify which entity the spawn egg creates.
8. The ThrownPotion entity has a new "Lingering" tag.
9. The EnderCrystal entity has a new "BeamTarget" tag.
10. Added AreaEffectCloud entity.
11. The EndGateway block has a new "ExactTeleport" tag and "Life" was renamed to "Age".
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/
How exactly is the "id" tag removed? Also, why is Mojang making all of these changes to NBT that are going to break custom maps?
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.Quick example, where the following doesn't work in 1.9 and defaults to "stone" instead of "command_block":
In previous versions, the tag-type of "id" will be checked as a "Short" type. In 1.8, it gets translated into the "id" tag with tag-type "String". But in 1.9, "id" as a Short type has been removed completely. It's specifically to continue phasing out numerical IDs, as was warned a few versions ago (and then /give, /setblock, and other commands prevented the use of numerical IDs in their syntax).
For those that had updated to name IDs instead of numerical, this changes nothing. For anybody that had been using numerical IDs in the past, they were told to update.
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/
So technically, the enchantment tag could be required to use the name IDs in the future too? Also, what would be the correct way to do the example command above in 1.9?
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.I have another question. Why didn't Mojang fix the bug where custom potion effects don't work on splash potions and lingering potions?
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.Yea, and same with potion effects. Both of them already have name IDs implemented in /effect and /enchant, although they don't have anything for NBT data directly.
Example for 1.9 for items:
I cannot answer for Mojang. I can just guess that they're reworking potions greatly.
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 search to summon EntityHorse spawner egg but it's impossible, i try this command:
/summon Item ~ ~ ~ {Item:{id:"minecraft:spawn_egg",EntityTag:{id:"EntityHorse"}}}
but this command summon white spawner_egg without mobs (I think this command don't recognize mob part of data tags I writted).
You can get a horse spawn egg from the creative menu.
Using entitydata I was able to get this command:
/summon Item ~ ~1 ~ {Item:{id:"minecraft:spawn_egg",Damage:0s,Count:1b,tag:{EntityTag:{id:"EntityHorse"}}}}
I have a small YouTube channel and would greatly appreciate it if you were to check me out!!
What do you mean exactly? Can I have a link to the bug report?
I have a small YouTube channel and would greatly appreciate it if you were to check me out!!
Other bug, I tried (after dropped, above command block with "scorebord players set..." command, some items and differents potions with few leaping potions bottles):
/scoreboard objectives add PotionTest dummy
/scoreboard players set @e[r=2] PotionTest 1 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:leaping"},Damage:0s}}
/tp @e[r=20,score_PotionTest_min=1,score_PotionTest=1] @p
To try to teleport to me only leaping potions bottles but not working, command block "scorebord players set..." write in result case: "[01:58:12] The dataTag does not match for bd......."
Sarmachus, Thanks you very much for spawn egg.
Sure!
https://bugs.mojang.com/browse/MC-83471
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.Ok, so because you are using EntityTag I am assuming the potion test thing is also for 1.9, but in case you were in 1.8, that is the reason it isn't working.
Otherwise your command works as intended. Check to see if the item is within 2 blocks of the command block. If that doesn't work, you are testing for the wrong item. You are currently testing for a drinkable jump boost 1 potion that lasts for 3 minutes. For an extended potion, replace "leaping" with "long_leaping", and for a leaping 2 potion, replace "leaping" with "strong_leaping". Also, this is for the item form, not a thrown potion.
Skyliner, is there a post about how potion effect's information are changing in the snapshots? I would find that helpful, thanks.
I have a small YouTube channel and would greatly appreciate it if you were to check me out!!
I noted it under the "Items: Potions" heading on the OP. I forgot to include all the IDs for the default potions though, added those back in.
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/
As far as I could tell, the only change in NBT data between 15w33c and 15w34a is the new "powered" byte tag for command blocks (added it at the bottom of the OP). When the command block is receiving a redstone signal, the value will be 1.
EDIT: And I can confirm that the CustomPotionEffects issue for splash/lingering potions has been resolved.
EDIT2: Also added "life" and "power" to all Fireball entities. "direction" now requires exactly 3 Doubles to be listed in order to exist.
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/
The "here" link redirects to the same thread. Also if you want to link for more explanation on the powered tag, you can check out my video on it:
Check out innovative redstone and command block concepts with The Redstone Scientist!