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

Wither boss use deprecated function for render controllers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.30.23 Preview, 1.21.21 Hotfix, 1.21.30, 1.21.44 Hotfix
    • None
    • Community Consensus
    • Multiple

      The render controller of wither had used the deprecated function over 6 years.

      In the wither_boss.render_controllers.json here's a function called query.overlay_alpha which not working after 1.12.

      I think mojang should use some new function for alpha channel like this:
            "overlay_color":

      {         "r": "variable.is_invulnerable ? 1.0 : this",         "g": "variable.is_invulnerable ? 1.0 : this",         "b": "variable.is_invulnerable ? 1.0 : this",         "a": "variable.is_invulnerable ? Math.max(1.0 - query.anim_time * 0.2, 0) : this"       }

      Use this function you can easily fix the animation problem.

        1. 1.12.1_wither_animate.mp4
          4.03 MB
          Ju_mao
        2. 1.20.60_wither_animate.mp4
          3.32 MB
          Ju_mao
        3. wither_boss.render_controllers.json
          0.7 kB
          Ju_mao

            Ju_mao Ju_mao
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: