Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-916

Water does not form source blocks properly on top of existing source blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7
    • Fix Version/s: Snapshot 13w03a
    • Labels:
    • Confirmation Status:
      Confirmed

      Description

      What I expected to happen was...:
      Flowing water with two adjacent source blocks and above another source block should make a new source block.

      What actually happened was...:
      Water does not create a source block when above another source block. This results in currents in oceans that are annoying to try to fix and makes it difficult to fill in lakes or pools that are more than one block deep.

      Steps to Reproduce:
      1. Dig a 3x3 hole two blocks deep
      2. Fill the bottom with water
      3. Place water on all sides of the top layer
      4. Notice that water is still flowing towards the center

      OR

      1. Find a body of water that is more than one block deep
      2. Take a bucket of water from the area that is more than one block deep
      3. Notice that there are now currents flowing toward the block of water you took

      NOTES:
      Fixed and tested with MCP 7.19:

      --- a/src/minecraft/net/minecraft/src/BlockFlowing.java
      +++ b/src/minecraft/net/minecraft/src/BlockFlowing.java
      @@ -93,7 +93,7 @@ public class BlockFlowing extends BlockFluid
                       {
                           var10 = 0;
                       }
      -                else if (par1World.getBlockMaterial(par2, par3 - 1, par4) == this.blockMaterial && par1World.getBlockMetadata(par2, par3, par4) == 0)
      +                else if (par1World.getBlockMaterial(par2, par3 - 1, par4) == this.blockMaterial && par1World.getBlockMetadata(par2, par3 - 1, par4) == 0)
                       {
                           var10 = 0;
                       }
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                blueravengt Tavis Hansen
              • Votes:
                51 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: