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

Digging Snow Layer yields one snow ball too much

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w28b, Minecraft 14w29b, Minecraft 14w31a, Minecraft 14w34c, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.6, Minecraft 15w36d, Minecraft 15w44b, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 16w38a, Minecraft 16w39c, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.2, Minecraft 17w43b
    • Fix Version/s: Minecraft 17w47a
    • Confirmation Status:
      Confirmed

      Description

      If you dig up snow covers with a shovel, you should get a snowball. The bug is that you get two snowballs instead of one. Works with all shovels.


      Further information provided by Orthotope:

      Looking at the code, it seems to be a simple oversight. Previously, the thickness of snow was stored in its data value, using the range 0-7, so the number of snowballs dropped was (thickness + 1). With the transition to block states, the thickness is now internally represented as 1-8, but the formula for snowballs dropped wasn't changed, so it gives one extra.

        Attachments

        1. 2014-07-13_10.15.45.png
          2014-07-13_10.15.45.png
          96 kB
        2. 2014-07-13_10.15.51.png
          2014-07-13_10.15.51.png
          91 kB
        3. 2014-07-13_10.16.26.png
          2014-07-13_10.16.26.png
          72 kB
        4. 2014-07-13_10.16.29.png
          2014-07-13_10.16.29.png
          76 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Baconplayer Baconplayer
              • Votes:
                8 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: