StoredEnchantments via Anvil is not the same as via /give
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:
/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}
4) Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}
/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 10
5) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same
7) Try not to cry
8) Cry a lot
Edit 1: Youtube video
Created Issue:
StoredEnchantments via Anvil is not the same as via /give
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) See that only the book via /give will have particle effects, even though they both look exactly the same (if you remove the ench part of the scoreboard command both will have the particle effect)
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) See that only the book via /give will have particle effects, even though they both look exactly the same (if you remove the ench part of the scoreboard command both will have the particle effect)
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same (if you remove the ench part of the scoreboard command both will have the particle effect)
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same (if you remove the ench part of the scoreboard command both will have the particle effect)
7) Cry a lot
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same(if you remove the ench part of the scoreboard command both will have the particle effect)
7) Cry a lot
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same
7)Crya lot1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4)Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same
7) Try not to cry
8) Cry a lot
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4) Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same
7) Try not to cry
8) Cry a lot
1) Take fortune 1 book out of inventory (creative mode)
2) Rename it to "Lucky Book" at the anvil
3) Use the following give command:/give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}4) Run the following commands on a clock:
/scoreboard players set @e[type=Item] luckyBookT 1 {Item:{id:minecraft:enchanted_book,tag:{StoredEnchantments:[{id:35,lvl:1}],display:{Name:Lucky Book}}}}/execute @e[score_luckyBookT_min=1] ~ ~ ~ particle reddust ~ ~ ~ 0.1 0.1 0.1 0.0 105) Toss both books on the ground
6) See that only the book via /give will have particle effects, even though they both look exactly the same
7) Try not to cry
8) Cry a lotEdit 1: Youtube video
I want to have the >possibility< to choose if players are able to break it. Should be disabled as default but you should be able to enable it with the CanDestroy command.
I would want this because I am a redstone and cmd block contraption inventor. This would open so many possibilities, like for example custom ores or lucky blocks without a plugin. You just make random cmd blocks spawn in the world and since players can't change the code inside them anyway, you could make a compressed command (activator rail, minecartCommandBlocks) to do random stuff and destroy the block with setblock air afterwards. It would be nice if players could pick up these lucky blocks again (of course also in the first place) if someone places them infront of their house, so they do not have to trust in their luck and activate it (by putting a button to the side and pressing it) to get rid of it (because they are lucky blocks, they could also spawn 10 creepers).
It is just depressing that you are limited every now and then (MC-53347 , MC-52819 , MC-52958 , MC-31365 , MC-9661 , MC-53928 , MC-54716) in this beatiful sandbox game and it seems mods have too much to do to look into the problems longer than 10 seconds (or not even that) and just go for the easy option "works as intended".
I am a commited player and reported a lot of bugs (like the ones above) to help mojang make a better game and none was solved or some not even viewed.
Just my opinion.
Greetings, Escore.



you need to replace
Lucky Book
with
"Lucky Book"
because the command doesnt like spaces, so it has a book called Lucky.
Unfortunately as I said in the description, it is the book from the anvil that causes problems. I attached Images, so you guys can understand better.
(Left book is done with give, right one is done with anvil)
I don't see a diffrence
Thats the problem. You can't see it, but it is there! :/
I recorded and uploaded a youtube video, so you can see it better.
weird
Still a problem in 14w21b
Still a problem in 14w29b
Uh, the video is private.
Thanks, it's now marked as "not listed"
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.