Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-53347

StoredEnchantments via Anvil is not the same as via /give

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 14w11b, Minecraft 14w18b, Minecraft 14w19a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w27b, Minecraft 14w28a, Minecraft 14w29a, Minecraft 14w29b
    • Unconfirmed

      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

        1. 2014-04-29_01.23.04.png
          272 kB
          EscoreFairplay
        2. 2014-04-29_01.23.08.png
          275 kB
          EscoreFairplay
        3. 2014-04-29_01.23.17.png
          283 kB
          EscoreFairplay

            Unassigned Unassigned
            EscoreFairplay EscoreFairplay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: