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

Guardian canBreatheUnderwater() returns false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      canBreatheUnderwater() for guardian returns false instead they hard code the air time supply and don't bother with their own boolean system for EntityLiving.canBreatheUnderwater(). It should always return true but, it's always false. This is causing mod incompatibilities with vanilla itself.

      How to fix

      In the code return true rather than false forĀ EntityLiving.canBreatheUnderwater() inside of the class EntityGuardian.class method override it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dragonofthelakeabcd jredfox
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: