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

Creakings can attack players in the same team as them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w44a
    • 1.21.3
    • None
    • Community Consensus
    • Mob behaviour
    • Important
    • 1319866
    • Expansion A

      Discovered while testing MC-277815.

      The bug:

      If a creaking is added to the same team as a player, or the player is added to the same team as the creaking, while the player is in Survival or Adventure mode and looking at the creaking, the creaking will try to attack the player as soon as the player looks away from it, and will stop when looked at again, after which it will never attack the player again.

      How to reproduce:

      1. In a world with the Winter Drop experiment enabled, place a creaking heart between two correctly aligned pale oak logs, or execute the following command:
        /summon minecraft:creaking
      2. Execute the following command:
        /time set night
      3. Switch to Survival or Adventure mode.
      4. After the creaking spawns, move near it and look at it.
      5. While looking at the creaking, execute the following commands in order:
        /team add MC-277833

        /team join MC-277833 @s
      6. If your creaking was spawned using a creaking heart, execute the following command:
        /team join MC-277833 @n[type=minecraft:creaking_transient]

        Otherwise, execute the following command:

        /team join MC-277833 @n[type=minecraft:creaking]
      7. Look away from the creaking.
        The creaking moves towards you and attacks you.
      8. Look at the creaking.
      9. Look away from the creaking again.
        The creaking idles.

      Expected result:

      A creaking in the same team as the player would never attack the player.

      Observed result:

      A creaking that was added to the same team as the player while being looked at can attack the player when looked away from until looked at again.

            gnembon [Mojang] Gnembon
            ManosSef [Helper] ManosSef
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: