    001/**
    002 * Copyright (c) SpaceToad, 2011
    003 * http://www.mod-buildcraft.com
    004 *
    005 * BuildCraft is distributed under the terms of the Minecraft Mod Public
    006 * License 1.0, or MMPL. Please check the contents of the license located in
    007 * http://www.mod-buildcraft.com/MMPL-1.0.txt
    008 */
    009
    010package net.minecraftforge.liquids;
    011
    012/**
    013 * Liquids implement this interface
    014 *
    015 */
    016public interface ILiquid {
    017
    018    /**
    019     * The itemId of the liquid item
    020     * @return the itemId
    021     */
    022    public int stillLiquidId();
    023
    024    /**
    025     * Is this liquid a metadata based liquid
    026     * @return if this is a metadata liquid
    027     */
    028    public boolean isMetaSensitive();
    029
    030    /**
    031     * The item metadata of the liquid
    032     * @return the metadata of the liquid
    033     */
    034    public int stillLiquidMeta();
    035}