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
2014-04-24, 02:39 AM
2017-02-14, 05:09 PM
2017-02-14, 05:09 PM
0
4
anvil, book, command, enchantment, give
-