Digging Snow Layer yields one snow ball too much
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.
Linked Issues
is duplicated by6
Created Issue:
Digging Snow Cover
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.
Environment
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
Digging Snow Cover yields one snow ball too much
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Digging SnowCover yields one snow ball too muchDigging Snow Layer yields one snow ball too much
relates to
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
relates to
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.
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.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.
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.
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.
The bug
Unlike snow blocks, snow layers do not drop themselves when harvested with a silk touch shovel, instead dropping snowballs as usual (too many snowballs: see MC-61821).
How to reproduce
Obtain a shovel of any type enchanted with silk touch and break a snow layer of any height. Snowballs will be dropped instead of layers as expected.
Dupe of MC-61821
Duplicate of MC-61821
Dupe of MC-61821
Dupe of MC-61821
Dupe of MC-61821
and dupe of MC-61821.




Confirmed.
Digging 8 layered snow yields 9 snow balls
Confirmed for 14w31a because
MC-64555describes it for 14w31aConfirmed for 1.8
Still an issue in 1.8.1 pre-release 3. Each snow layer gives one more snowball than expected.
Still in 1.8; 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.
Confirmed for 1.10-pre1
Confirmed for 16w39c
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
Interestingly, this behavior means that snow layers can be obtained losslessly if all layers are one-high (6 layers -> 12 snowballs -> 3 blocks -> 6 layers), but snow is lost when stacked (stack of 6 -> 7 snowballs)
Confirmed for 1.12.