-
Bug
-
Resolution: Fixed
-
Minecraft 1.5, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 14w27b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w35e, Minecraft 15w43a, Minecraft 15w46a, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w10d, Minecraft 18w20c, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w49a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w45b, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a
-
Confirmed
-
Survival
-
Block states, Networking
-
Important
The bug
A desync can happen when rapidly turning and trying to use a lava, water, or powder snow bucket. The bucket might appear full but you placed lava / water / powder snow; or the bucket might appear empty but you did not place lava / water / powder snow.
How to reproduce
- Give yourself a lava bucket
- Spin around (move mouse) standing on a flat plain and repeatedly try to put down and pick up the lava in the bucket
→ About 1 in 10 times, the client and server desync (e.g. I see the lava on the ground, and also in my bucket, until I use the bucket again or move it in my inventory; or I see no lava on the ground and my inventory displays the bucket as empty, but I actually still have lava and can place it).
Code analysis
Based on 1.12.2 decompiled using MCP 9.40
Using a bucket calls server-side net.minecraft.item.ItemBucket.onItemRightClick(World, EntityPlayer, EnumHand) which calculates the position itself and therefore can cause a desync. Ideally the position for picking up liquids and placing them should be calculated client-side only and then the server should only validate it and use that position.
Examples
- is duplicated by
-
MC-22377 Lava buckets in inventory randomly become empty
- Resolved
-
MC-60815 Placing lava in water fast causes lava to stay lava
- Resolved
-
MC-84326 Buckets emptying with torches in shield slot
- Resolved
-
MC-127133 Breathing bubbles flickering if in air pocket underwater
- Resolved
-
MC-127147 1x1 bubble created by bucket underwater doesn't disappear
- Resolved
-
MC-127233 Spamming buckets creates phantom air
- Resolved
-
MC-133539 Water does not fill empty spaces
- Resolved
-
MC-133550 Holes in water
- Resolved
-
MC-134139 Water does not refilled
- Resolved
-
MC-134343 When spam filling a water bucket with water, air can be created under water.
- Resolved
-
MC-134714 Minor water bug
- Resolved
-
MC-134918 Source water blocks
- Resolved
-
MC-136140 "Water bubble" in water if you spam empty buckets
- Resolved
-
MC-136623 ghost water blocks
- Resolved
-
MC-137083 Water Bug
- Resolved
-
MC-139568 water is empty
- Resolved
-
MC-140875 Picking up water very fast makes an "air" block
- Resolved
-
MC-141794 Water Bucket or waters glitch
- Resolved
-
MC-143878 Water is not flowing occasionally
- Resolved
-
MC-144219 Disappearing blocks and reappearing blocks
- Resolved
-
MC-146039 Right click with bucket in the water leaves air bubble
- Resolved
-
MC-146180 Water doesn't flow after using a bucket
- Resolved
-
MC-148261 water doesnt flow
- Resolved
-
MC-148288 Right clicking a bucket on a body of water sources while moving your mouse really fast removes two water sources instead of one
- Resolved
-
MC-150162 There is a problem with water buckets. Sometimes when placing water down from a water bucket, the water disappears.
- Resolved
-
MC-150863 air block in the middle of water
- Resolved
-
MC-151665 Water fails to be picked up and stays in current location but turns invisible.
- Resolved
-
MC-153123 Water Pickup Bug
- Resolved
-
MC-157975 Picking water with buckets sometimes doesn't work
- Resolved
-
MC-160166 Disappearing Water?
- Resolved
-
MC-160970 Blocks of water disappear
- Resolved
-
MC-161504 Infinite Water Bug
- Resolved
-
MC-162880 Man Made Air Pocket in Water
- Resolved
-
MC-166672 Water source block issue
- Resolved
-
MC-168506 Using buckets towards fish underwater can sometimes cause air to appear in the water
- Resolved
-
MC-168953 When a water is placed with a water bucket on a server, it has a chance to dissapear.
- Resolved
-
MC-169081 Bucket falsely fills with water
- Resolved
-
MC-169119 Infinite water source doesn't replenish
- Resolved
-
MC-170369 Buckets cause water sources to disappear and not reflow until water is updated
- Resolved
-
MC-170404 Water disapeared after placing down the water using a water bucket
- Resolved
-
MC-177039 Placing water quickly on grass makes water float
- Resolved
-
MC-177303 Lava in the buckets acts weird
- Resolved
-
MC-178363 Causes a air gap in water
- Resolved
-
MC-178416 Water Source Blocks are not being formed back after they are picked up with a Bucket
- Resolved
-
MC-178492 Water/Bucket bug
- Resolved
-
MC-178709 Air block in water lake not filling in.
- Resolved
-
MC-181969 Picking up water or lava sometimes causes syncing issues, making ghost source blocks
- Resolved
-
MC-182510 Water bug
- Resolved
-
MC-182713 Water gathering issue using Frost Walker enchantment and teleportation between Water Bucket icons
- Resolved
-
MC-183993 Water does not flow properly/create new water source block once removed
- Resolved
-
MC-184310 Water Buckets filling when they aren't supposed to
- Resolved
-
MC-184584 invisible water
- Resolved
-
MC-187017 Invisible water issue
- Resolved
-
MC-187376 Air bubbles when clicking on water with a empty bucket
- Resolved
-
MC-187505 Lava not turning into obsidian in water.
- Resolved
-
MC-188016 Buckets Sometimes Doesn't Place The Water
- Resolved
-
MC-190185 Ghost Water or Lava Blocks
- Resolved
-
MC-190377 Sometimes water gets picked up in bucket, but source stays
- Resolved
-
MC-190391 broken water mechanics
- Resolved
-
MC-191486 Item Disappearing when placed
- Resolved
-
MC-192405 Water
- Resolved
-
MC-195662 Water glitch
- Resolved
-
MC-196051 Water Randomly Disappears From Bucket
- Resolved
-
MC-196352 Water Update Glitch
- Resolved
-
MC-196546 Waterbucket displaying wrong ico
- Resolved
-
MC-196690 water air blocks
- Resolved
-
MC-198038 Water disappear (visual bug)
- Resolved
-
MC-198094 Inviseble water
- Resolved
-
MC-198704 Lava doesn't go away
- Resolved
-
MC-199800 Water Bug
- Resolved
-
MC-199963 Water bug
- Resolved
-
MC-200339 1 bucket + 2 clicks fast = 1 air 1 water (1b+2cf=1a1w)
- Resolved
-
MC-200792 Picking up water and the code not registering it being picked up
- Resolved
-
MC-202085 Bug with Endless source of water on 1. 16. 3.
- Resolved
-
MC-202100 Weird water bucket behaviour
- Resolved
-
MC-202878 Ghost water buckets
- Resolved
-
MC-202897 Sometimes water and lava are not collected/placed correctly
- Resolved
-
MC-203422 Water/lava client side cavity
- Resolved
-
MC-204250 Water source block deleted on rare occasions
- Resolved
-
MC-204517 Bucketing water too fast causes visual(?) error
- Resolved
-
MC-204699 water replaces with air when filling buckets with water at a river/can't place water buckets
- Resolved
-
MC-204728 The water bucket has a chance of glitching and not being usable
- Resolved
-
MC-205225 Attempting to pick up Powder Snow in a bucket while running and jumping simultaneously doesn't remove block, but temporarily fills bucket.
- Resolved
-
MC-205507 ghost water
- Resolved
-
MC-206511 You Can Create Fake Air Pockets By Filling Up Buckets Too Fast
- Resolved
-
MC-206537 Water and Lava Disappears Randomly
- Resolved
-
MC-206782 Water Bucket Glitches
- Resolved
-
MC-206882 Invisible water bug
- Resolved
-
MC-207166 water buckets doesnt work as propperly
- Resolved
-
MC-207990 Bucket bug
- Resolved
-
MC-208190 Invisible lava in 20w49a
- Resolved
-
MC-208414 Water bug
- Resolved
-
MC-209105 20w51a Issue (Axolotl)
- Resolved
-
MC-209179 Water doesnt dissapear (Bucket)
- Resolved
-
MC-209358 Water doesn't go in my bucket
- Resolved
-
MC-210157 Lava glitch
- Resolved
-
MC-210297 water buckets act wierdly
- Resolved
-
MC-210862 Buckets used at previous crosshair locations
- Resolved
-
MC-211203 Water will sometimes appear in the bucket but it won't actually be in the bucket
- Resolved
-
MC-213453 Desynced water with buckets
- Resolved
-
MC-214247 Server-client desync when turning camera quickly (duplicate)
- Resolved
-
MC-214391 Water Bug
- Resolved
-
MC-214542 Water Glitch
- Resolved
-
MC-215523 water bug
- Resolved
-
MC-215572 Using a bucket underwater will pick up the water block you are in
- Resolved
-
MC-216021 Spamming a bucket under water results in infinite oxygen.
- Resolved
-
MC-216069 Invisible lava source block?!
- Resolved
-
MC-216531 Water Physics Issue
- Resolved
-
MC-217438 Bug with water and bucket
- Resolved
-
MC-217508 Water stops updating?
- Resolved
-
MC-217598 Water glitch
- Resolved
-
MC-217744 water does not get picked up sometimes
- Resolved
-
MC-219644 When you fill a bucket with water while moving the camera quickly, an empty block will remain in the water source, which should not be there
- Resolved
-
MC-219801 Water Dissapearing When Placed
- Resolved
-
MC-222975 Water Bug
- Resolved
-
MC-223332 Fake lava bucket/ Ghost bucket
- Resolved
-
MC-231630 Water source doesent pick up when it looks like it is
- Resolved
- relates to
-
MC-95720 client-/server-desync on seemingly invalid block placement
- Open
-
MC-189969 Taking away lava while it converts to obsidian will create a fake lava bucket
- Open
-
MC-210301 Desync when trying to use a bucket in spawn protection
- Open
-
MC-9591 Players are able to create ghost lily pads
- Resolved
-
MC-90022 Movement packets arrive too late
- Resolved
-
MC-107103 Trying to interact with entity 3 or more blocks away without seeing its eyes only interacts client-side
- Resolved
-
MC-219875 You can cause a desync when repeatably picking up liquids
- Resolved
-
MC-268282 Picking up lava, powder snow or water using a bucket can be desynced
- Resolved
-
MC-134622 You can breathe indefinitely underwater by filling and emptying buckets or by playing blocks that can be placed in water and replaced by water
- Open
-
MC-193187 Phantom Lava Source Block / Invisible Source Block
- Resolved