mojira.dev
MC-54036

Slime block doesn't break blocks (e.g melon) when pulled.

Put the summary of the bug you're having here

What I expected to happen was...:
When a slime block is pulled by a piston while in contact with a melon, pumpkin or dragon egg, I expected the block to break and drop its item form; As this is the case if they are pulled by a standard sticky piston.

What actually happened was...:
The block was ignored in the same way that bedrock or obsidian would have been.

Steps to Reproduce:
1. power a sticky piston with a slime block attached so it pushes the slime block.
2. place a melon (or a pumpkin/dragon egg) so it is in contact with the slime block
3. un-power piston

Linked issues

Attachments

Comments 7

Yes, but a sticky piston ignores melons and pumpkins as well.
That way the behaviour of the slime block is consistent with the sticky piston.
IMO intended.

Did first test with 14w17a.
In fact the sticky piston pulls and destroys a melon (that's new compared to 14w17a), but the slime block not.
That's inconsistent.

This one is actually a bug. The melon should not break.

Luckily this one is easy to fix.
Before a retracting sticky piston calls the method which moves the blocks it should check whether the block directly in front of it's arm can be moved.
I think that was even in before 14w18a but someone accidently removed it. cough

Created a new ticket for the sticky piston breaking melons / pumpkins: MC-54358

Intended, Video from the co-author of the sticky slime blocks: https://www.youtube.com/watch?v=EIK2l4KGB_8

Damian Harper

(Unassigned)

Confirmed

Minecraft 14w18a

Retrieved