Ender IO Zoo

Ender IO Zoo

962k Downloads

Dark Pick Spoon and Snow

Discomanco opened this issue ยท 3 comments

commented

Issue Description:

Snow doesn't give Snowballs when used with Dark Pick with the Spoon enchant.
Could of course be intentional, but since it gives the pickaxe the functionality of a Shovel, I would think it should also be able to pick up snow.

Tested both in a world with only EnderIO+JEI and in a private modpack.
Tested with a fully upgraded Dark Pick
Tested with only Empowered I and Spoon Dark Pick

What happens:

The block just breaks with no drops, as if a non-shovel tool broke it (Dark Pick should be both mining pick + shovel)

What you expected to happen:

Snowballs should drop from the snow patches/blocks

Steps to reproduce:

  1. Make a Dark Pick with Spoon enchant
  2. Break snow with it
  3. Snowballs doesn't drop

Affected Versions (Do not use "latest"):

  • EnderIO: 3.1.168
  • EnderCore: 0.4.1.65-beta
  • JEI: 3.14.4.404
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2221

Your most recent log file where the issue was present:

commented

Annoyingly enough, the logic for this is in the item, so we'll have to override canHarvestBlock and check that it is Blocks.SNOW_LAYER and has the spoon upgrade.

commented

On second look, we already do this... are you sure your dark shovel has power?

commented

Sometimes it is really annoying that Java lets you compare two fields that cannot ever contain the same object just because both may be null...