Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-178475

Animations of Entities within Darkness Effect's darkness do not update

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.51 Hotfix
    • None
    • Unconfirmed
    • Android

      Resource pack animations do not execute if a mob is in the darkness while a player is under the darkness effect, even with rendering offscreen bones and particles enabled.

      This effect also affects particles that are binded to an entity as it recedes into the darkness; emitters that are binded to their entity (meaning their have local space position is set to true) should have their position updated relative to that entity, so the particles should follow it. However, these particles do not update their position whenever the entity moves into the darkness, rather it stalls in that spot until the entity is rendered in view again.

      Steps to reproduce:

      1. Create/Use an entity that has a particle effect or sound effect animation.
      2. Open a test world and spawn the entity.
      3. Apply the darkness effect to yourself and move in and out of range of the entity.

      Expected Results:
      Either the particles should recede into the darkness fog, similar to the entity, or the entity's position should still be tracked in the darkness via the particle position. The particles/sound should also activate even when the entity is outside the range of sight

      Results shown:

      The particle emitter will briefly stay in the last area that the entity was rendered in the darkness fog, with it suddenly updating its position once the entity returns to view. The sound is also delayed to only occur once the entity renders into view (should the animation still be active).

            Daethie Daethie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: