mojira.dev
MC-4681

Item drops in creative

When I break a block, the item attached to it drops as an item entity. The creative mod is intended to not drop blocks.

What I expected to happen was:
When destroyed a block, nothing drops.

What I expected to happen was:
It dropped the item that was attached to that block. Which is annoying to map/redstone makers when deleting blocks that contains redstone.

Steps to Reproduce:
1-Get an item or a block* that attaches to an attachable block.
2-Break the block.
3-Expect to see dropped items.

Full list of items/blocks that can be attached to a block.
Lever, A.k.o. Pressure Plates, A.k.o torches, A.k.o Doors, A.k.o buttons, Redstone repeaters, A.k.o Saplings, A.k.o Mushrooms, A.k.o flowers, Lily Pad if place a block on the water that holds it, Sign, Flower Pot, Paintings and Item frames are kind of weird, Trapdoors, Ladders, A.k.o Rails, A.k.o Mine carts and A.k.o music discs after being ejected from Jukeboxes, Redstone Comparators.

A.k.o - All kinds of...

Other ways of reproducing this bug:

  • Pushing melons with a piston

  • Using TNT.

  • Breaking item frames with items in them.

by [[OCD]]Xavier Brown

Examples:
\/
\/

Linked issues

Attachments

Comments

Blake Stinson

That's not a bug... That's normal Minecraft.... Break the redstone first then the block, it would break many of my creations if they tried to get rid of that (When i break a block the item on it falls onto pressure plates and ativates something and yes i am talking about creative mode not survival)... I'm not going to say "if they tried to FIX that" because its NOT a bug it is NORMAL

Daniel

If you would try that, you'll get pissed off by all that crap that dropped when you're just deleting a bunch of blocks when doing a redstone creation.

Tails

Great description, confirmed!
Adjusted the title though 😉

Mustek

Can I just add to the discussion that when your creative inventory is full, you'll still pick up items (They just get removed from the game).

Daniel

Of course. 😉

Daniel

So, this isn't discussed anymore?

FireHunterX

As with some other forms of breaking, the same result is seen with:
1) Pushing melons with a piston
2) Using TNT
3) Killing mobs (this is normal, though)
4) Breaking item frames with items in them
and possibly more.

Daniel

Thank you for information! I will add it. BTW what is [OCD]?

FireHunterX

Obsessive Compulsive Disorder.
As per all of my bug reports, which are mostly annoyances.

Daniel

oh.

Marios

This is an annoyance that is happening since at least 1.2.4 (I never played any previous versions). So this issue is a feature request. Mods why isn't this closed? If I wanted an annoyance to be fixed and started an issue here in the bug report site wouldn't you have closed it? I'm not saying this behavior should or shouldn't change. All I'm saying is that feature requests don't belong here, there is another site for this, and as long as you allow one feature request, you are giving the green light for more.

FireHunterX

Happening since at least...um...ever?

C.J. Wijtmans

this is not a bug...

FireHunterX

@C.J, you have said this in a lot of reports you comment on. This one has been confirmed, already, which means that it is considered a bug.

Also, @Marios, the intended result is to NOT get drops in Creative mode, and this report is about getting drops in Creative mode. Therefore, it is NOT a feature request, but it IS a bug.

A feature request would go something like "You should be able to use Pick Block on Technical blocks in Creative mode".

C.J. Wijtmans

Xavier show me the list.

FireHunterX

Your news feed shows all.
I don't need to play this game. Look for them yourself.

It's a bug, end of story.

C.J. Wijtmans

"@C.J, you have said this in a lot of reports you comment on." < show me the list.

Marios

@ Xavier
Like I said, I'm playing minecraft since 1.2.4 so I don't know if this was happening in previous versions but probably it did like you said.
— "Happening since at least...um...ever?" You are replying back to yourself here. It was happening since day #1 and you think this is a bug?
— "the intended result is to NOT get drops in Creative mode" You aren't getting drops in creative mode. When you break a block it disappears, without drops. The fact that items above or attached to that block drop as entities is a normal minecraft behavior that some don't like and your/my/anyone's preference does not make this a bug but a request. So this feature request goes something like "You shouldn't get drops of items attached to a block when destroying it".
Even if Mojang decides that this behavior is not wanted anymore (I am not saying unintended) and that they should change it in the future, this still doesn't make it a bug.

FireHunterX

@Marios: When you destroy a block, you do not get a drop. BUT... some items DO drop items, which is the bug. Please read through the ENTIRE comment/post before replying.

Did you at least take into account that I gave examples in a previous comment?

The definition of a bug/glitch is "A feature in the game that causes an unintended result or outcome."
For the last time, it is a bug. You aren't supposed to get drops in creative mode.

FireHunterX

Also, for Daniel, Minecarts always drop themselves when destroyed. Note that this doesn't happen with other entities, like paintings and empty item frames.

Marios

Xavier, first of all stop saying things like "For the last time, it is a bug" because it is rude. Neither of us is member of the Mojang team to say if this is a bug or not. We can only express our opinions. And please leave definitions out of this. I took a course of computer programming in high school, I also used to spend my free time learning programming on my own, and I took a course at university on C++ so I know exactly what a bug is. Even if I didn't know I would search wikipedia to find out that your definition has a much different meaning. Also know this, excluding changelogs there is no official source of the normal game behavior, not even the wiki. Wiki is a community project and can be edited by you and/or me and/or anyone. Even if you could see the source code of the game, even then you wouldn't be able to determine if a behavior is normal or a bug. Only Mojang team knows what's normal and what is a bug.

Now back to the point. I did read the entire bug report and comments. — "BUT... some items DO drop items" If you destroy a lever/torch/door/item frame/etc do they drop entities? No they don't. It is normal behavior of the game those items to drop when the block they are attached to is broken or moved, since ever. You say — "the intended result is to NOT get drops in Creative mode" then you prove yourself wrong by saying it is normal dying mobs to drop items or broken minecarts to drop themselves. Why, how? According to you — "the intended result is to NOT get drops in Creative mode" Why are some drops normal in creative? Because some drops fit your needs or because not all drops annoy you? Not wanting to have drops in creative mode is a request. What you would you expect to happen when a melon is moved by a piston? Should the melon just disappear or should it be moved? What would you expect from an exploding TNT, to leave no drops? Would any of these be normal behavior? No.

Daniel

@[OCD] Xavier Brown I know that they drop but they can't stack. That causes a problem in inventory for having it full.

I think this is discussed too much but ok.

FireHunterX

Jukeboxes should consume the disk from the inventory and then spit it back out. That way you only will end up with 1.

The most discussed report ever was the chunk error report.

Daniel

yup. I think this is the most discussed report ever!

FireHunterX

@Marios If it has already been confirmed, then it has been identified as a bug.

Alex Paarfus

Why not just update DoTilesDrop to false; that'll fix your problem.

Blake Stinson

Picture it like this: You break a block and You might not have noticed that it had redstone on it(like it was above you, etc)... Then you walk away and try it and it doesn't work, and you then have search the entire place for the problem, which was the block you accidentally broke in the first place.

FireHunterX

The problem is not that you might accidentally break something you shouldn't have, but rather that you fill up the inventory with unwanted blocks.

Blake Stinson

it wont fill up your inventory if you have your hotbar full and its not on inventory screen in creative....

Daniel

@[Blake Stinson] Well THAT'S the problem

Daniel

Hi?

Blake Stinson

Just type /gamerule DoTilesDrop false.... You dont need to ruin many things for other people...

Daniel

@Blake Thanks man. You made my day!

C.J. Wijtmans

to be honest, now that you can control it with a gamerule this bug should be resolved.

Daniel

Agreed.

kbk

Wait. /gamerule is supposed to be a serverside option, isn't it? If so, an unfair situation could occur when someone (e.g. op) is enjoying his time building something in creative on his SMP server while other players are wasting their time, resources and effort due to disabled doTileDrops. Is it supposed to be ok?

C.J. Wijtmans

@kbk

It is a weird situation anyhow when multiplayer, if one is in creative and one is in survival do you drop the items or not? This way the /gamerule actually makes sense.

please make it resolved/closed.

kenzierocks

I believe it should be relatively easy to just add a check for creative when dropping blocks or using the method that the gamerule does, only do it for the player that broke the block. Latter may not be as easy to implement.

yut951121

I don't thinks it is a bug, but if they would make minecraft not to drop any items, gaming experience in creative mode will be really really better.

kbk

Wrecking a boat should also be on the list of actions that produce drops in creative.
Also this report is still valid for 1.5.2.

fake fakes

Happens in 13w19a

Ezekiel

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Daniel "Glampkoo"

Nope it isn't. Mark as work as intended because there is one gamerule to prevent this.

/gamerule doTileDrops false
Ezekiel

I'm going to keep it open because thats a workaround, IMO

kenzierocks

Also, doTileDrops doesn't prevent at least one of the problems: music disks from jukeboxes. With doTileDrops on, they still come out of jukeboxes filling up the creative inventory.

Steps to reproduce:
1. Get a jukebox and music disk.
2. Place the jukebox on the ground.
3. Insert record disk.
4. Break the jukebox.
5. Receive an extra record disk!

The other one I can find is item frames still drop themselves and their block when destroyed in an unorthodox way. (I'll post how to do it if anyone wants)

Daniel "Glampkoo"

@Kenzie The feel free to report it! That's another issue!

Nathan Adams

We try to not give drops in creative but sometimes it's just not possible to detect who actually caused something to happen. Anything that is not a direct action from the player may or may not follow creative rules.

Daniel

(Unassigned)

Confirmed

drop, drops

Snapshot 12w50b, Snapshot 13w07a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2

Retrieved