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

Tridents with one durability remaining can be thrown


    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.15 Pre-release 3
    • 19w42a, 1.15 Pre-Release 2
    • None
    • Confirmed
    • Items
    • Important

      The bug

      When a trident has one durability remaining, it can be used. This causes it to break in the hand but still throw a trident entity.

      Tridents are intended to disallow use when they are about to break:

      // TridentItem#use
      if (itemStack.getDamageValue() >= itemStack.getMaxDamage()) {
          return InteractionResultHolder.fail(itemStack);

      However, this only prevents tridents with 0 durability from being thrown, rather than tridents with 1 durability.

      This behavior broke when MC-120664 was fixed.

      How to reproduce

      /give @p trident{Damage:250}
      /give @p trident{Damage:249} 

      Try to use the first trident ( you can't)
      Try to use the second trident ( you can, it throws and breaks weirdly)

            Excited Maria Lemón
            tryashtar [Mod] tryashtar
            5 Vote for this issue
            3 Start watching this issue