mojira.dev
MC-20

Getting door drop in creative

When ever you hit the top half of a door in creative it still drops a door and fills up the inventory. I know this isn't a true bug but it is very annoying could you please fix it?

Related issues

Comments

adam giraudet

I would like to point out this is because the door is only the bottom half so when punching the bottom half it wont drop a door - also if a piston is extended because the piston is only the cobblestone textured partial block if you punch the head it drops a piston.

Enrique Atapulco

it happens too with de bed, if you punch on the pillow part it drops a bed. I think it's a bug, but the problem is with the hitbox

NeverCast [Joshua Lloyd]

Yes Enrique, I think you're right on there.
By removing the 'extra block's hitbox, and expanding the 'source block's hitbox to include both blocks, ( Top of the door, piston head etc ), it would certainly fix this issue.
That way the active block would be the one with the hit box and the other would be there for purely visual reasons.

Hitboxes I believe are typically floats from 0-1, 1 being a full block, I'm not certain if a hitbox can expand more than 1m-cube, but I don't see why not.

Takaya Sato

This happens with he bed as well, but can possibly be fixed if they manually program it to not drop the block. In my prediction, the blocks are all set to a setting, to drop a block. But, the developers programmed most blocks to not drop anything, but didn't program this on some blocks. And possibly, the door was one of them. The issue with the pistons can probably be fixed too, if done correctly.

Kenny Wells

(Unassigned)

Confirmed

Minecraft 1.4.1

Minecraft 1.4.3

Retrieved