    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
    012import net.minecraft.item.Item;
    013import net.minecraft.item.ItemStack;
    014
    015public class LiquidContainerData {
    016
    017    public final LiquidStack stillLiquid;
    018    public final ItemStack filled;
    019    public final ItemStack container;
    020
    021
    022    public LiquidContainerData(LiquidStack stillLiquid, ItemStack filled, ItemStack container) {
    023        this.stillLiquid = stillLiquid;
    024        this.filled = filled;
    025        this.container = container;
    026
    027        if(stillLiquid == null || filled == null || container == null)
    028            throw new RuntimeException("stillLiquid, filled, or container is null, this is an error");
    029    }
    030
    031}