[SPIGOT-5295] Items sometimes do not update position with piston Created: 28/Aug/19 Updated: 08/Jun/20 |
|
| Status: | Open |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Marcus Bakken | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | Items, Position, Updating, item, stuck | ||
| Attachments: |
|
| Version: | 1.14.4 |
| Guidelines Read: | Yes |
| Description |
|
Dropping a lot of items on top of a block that is controlled by a piston, when the piston moves the block, some of the items get stuck and will seem to fall, but pop back. See video attachment. |
| Comments |
| Comment by CsH [ 08/Jun/20 ] |
|
Hey essem I don't know if you saw my other message cause it was an old thread, but
|
| Comment by essem [ 21/Jan/20 ] |
|
Thanks for digging the code @Black-Hole |
| Comment by Black Hole [ 20/Jan/20 ] |
|
On a fork of Spigot I found the explanation that item entities are checking every 4th tick if they should fall. Combined with the entity activation range this could lead to some items to never fall on the server. The releavant line in EntityItem looks like this: |
| Comment by essem [ 20/Jan/20 ] |
|
Hello, Vanilla Singleplayer: Everything works fine, the issue dosn't occur. The hitbox moves clientside with the item (F3+B). The 'teleporting' stacks are real -> can be picked up and used. Affected are item groups, not invidual items in a stack (but also single items if they are not part of a stack) Now to the other probably related issue: Leave decay drops. Some of the items appear to be on the ground but can't be picked up, only if you get somewhere near were they dropped they teleport back while picking up. (I've observed this issue now since a while, its quite annoying for chopping trees) Edit: Used version 1.15.1 (also happened with 1.15 and at least some 1.14 versions) and newest spigot as of writing this. |
| Comment by Black Hole [ 28/Aug/19 ] |
|
Might be related to https://bugs.mojang.com/browse/MC-4 |
| Comment by Marcus Bakken [ 28/Aug/19 ] |
|
I did try in singelplayer and vanilla server, the problem is only happening on spigot and papermc |
| Comment by Black Hole [ 28/Aug/19 ] |
|
Please try to reproduce with a vanilla Minecraft server. |