001 package net.minecraft.block.material;
002
003 public class MaterialLiquid extends Material
004 {
005 public MaterialLiquid(MapColor par1MapColor)
006 {
007 super(par1MapColor);
008 this.setReplaceable();
009 this.setNoPushMobility();
010 }
011
012 /**
013 * Returns if blocks of these materials are liquids.
014 */
015 public boolean isLiquid()
016 {
017 return true;
018 }
019
020 /**
021 * Returns if this material is considered solid or not
022 */
023 public boolean blocksMovement()
024 {
025 return false;
026 }
027
028 public boolean isSolid()
029 {
030 return false;
031 }
032 }