Minecraft
  1. Minecraft
  2. MC-82841

Arrows are bright despite being in darkness

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 15w31a, Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34d, Minecraft 15w36c, Minecraft 15w38b, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43b, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b
    • Fix Version/s: Minecraft 16w39c
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
    • Confirmation Status:
      Confirmed

      Description

      When an arrow hits the ground at night-time, it will not be affected by the 'night shader'.

      The code

      1. 2015-07-29_16.05.04.png
        257 kB
      2. 2015-08-17_12.30.05.png
        118 kB
      3. 2015-10-08_18.18.36.png
        3.72 MB
      4. 2016-02-29_16.43.26.png
        498 kB

        Issue Links

          Activity

          Hide
          [Mod] Neko added a comment -

          Confirmed for 1.10-pre1

          Show
          [Mod] Neko added a comment - Confirmed for 1.10-pre1
          Hide
          [Mod] Neko added a comment -

          Confirmed for 1.10-pre2

          Show
          [Mod] Neko added a comment - Confirmed for 1.10-pre2
          Hide
          [Mod] Neko added a comment -

          Confirmed for 1.10

          Show
          [Mod] Neko added a comment - Confirmed for 1.10
          Hide
          [Mod] Neko added a comment -

          Confirmed for 1.10.2

          Show
          [Mod] Neko added a comment - Confirmed for 1.10.2
          Hide
          Techy4198 added a comment - - edited

          Solution: Remove the getBrightnessForRender() override from class EntityArrow and move it into EntitySpectralArrow. EntityArrow will then inherit the default method from Entity, which gives the desired lighting.

          Probably a result of spectral arrows being the same entity class as normal arrows during initial testing, and not being converted to separate classes properly.

          Class names and method names taken from MCP namings.

          Show
          Techy4198 added a comment - - edited Solution: Remove the getBrightnessForRender() override from class EntityArrow and move it into EntitySpectralArrow. EntityArrow will then inherit the default method from Entity, which gives the desired lighting. Probably a result of spectral arrows being the same entity class as normal arrows during initial testing, and not being converted to separate classes properly. Class names and method names taken from MCP namings.

            People

            • Assignee:
              [Mojang] Grum (Erik Broes)
              Reporter:
              Alexander Ahlgreen Madsen
            • Votes:
              44 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: