The bug
A player in Survival or Adventure mode picking up and dropping items modified by the /entitydata
command can duplicate the items.
How to reproduce
I made a quick little video, but I had to shove it on dropbox because of the 10MB limit
Link: https://www.dropbox.com/s/bqyjpazljppkirr/2017-04-04%2021-56-30.mp4?dl=0
Place a repeating command block, enter for example the following command (you can modify actual item entity tags as well) and activate it
/entitydata @e[type=item] {SomeCustomOrExistingTag:1b}
Place different variants of an item (for example different colored wool) in your hotbar
Switch to Survival or Adventure mode
/gamemode survival
Drop all items in your hotbar by either pressing
Q
orCtrl
+Q
Select the first hotbar slot and keep pressing
Q
orCtrl
+Q
→ After some time you should see that the dropped items have been duplicated
Linked issues
is duplicated by 2
relates to 1
Attachments
Comments 17
@tryashtar I just checked without entitydata, and this appears to be the case. How silly of me to not check for such a simple thing in the first place!
Please reopen. Although MC-114879 has been fixed, this STILL happens with entitydata.
I really can't reproduce this, after following your instructions for several hundred items. Can you really still get this to happen in 1.12 pre-2?
It looks like you need to have different variants of the same item. I was able to reproduce this with only 2 same items as well but it happened less often there.
It appears the items duplicate when the player has just picked up the items (not even client-side yet?) and already drops them again.
@tryashtar I am able to reproduce the issue in both pre-releases, I used a fresh superflat world with default settings and I found that dropping a full hotbar resulted in multiple of those items being duplicated. Expanding on what Marcono said, I probably get successful results due to the fact I mostly test with multiple types of stone.
Looks like a duplicate of MC-114879, you were probably looking for something to do with /entitydata 😉