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

Crash when using custom enchant levels

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Minecraft 1.12
    • None
    • None
    • Windows 10
      Java version 8
    • Unconfirmed

    Description

      If you apply an enchantment outside the normal minecraft range (e.g. /give @p diamond_sword 1 0 {ench:[

      {id:-1}

      ]} ) it will create an enchanted item that has no usable enchantments. This can be useful to stop someone from being able to enchant it again. However if you place this item into an anvil and try to add another enchantment via a book it will crash the game. Only when the enchanted book is placed into the anvil will the crash occur.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DoubleJGames Who Knows
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: