Examples of Liquid


Examples of org.spout.vanilla.material.block.Liquid

          return true;
        }
      }
    } else if (item.getMaterial().equals(VanillaMaterials.BUCKET)) {
      if (facingBlock.getMaterial() instanceof Liquid) {
        Liquid liquid = (Liquid) facingBlock.getMaterial();
        if (liquid.isSource(facingBlock)) {
          item.setMaterial(liquid.getContainerMaterial());
          facingBlock.setMaterial(VanillaMaterials.AIR);
          //TODO: physics update necessary here
          return true;
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.