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;
}
}