mojira.dev
MC-53347

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

Attachments

Comments 12

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.

2 more comments

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.

EscoreFairplay

(Unassigned)

Unconfirmed

anvil, book, command, enchantment, give

Minecraft 14w11b, Minecraft 14w18b, Minecraft 14w19a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w27b, Minecraft 14w28a, Minecraft 14w29a, Minecraft 14w29b

Retrieved