2012-11-15 02:22:44 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) SpaceToad, 2011
|
|
|
|
* http://www.mod-buildcraft.com
|
|
|
|
*
|
|
|
|
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
|
|
|
* License 1.0, or MMPL. Please check the contents of the license located in
|
|
|
|
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
package net.minecraftforge.liquids;
|
|
|
|
|
2012-12-13 05:58:35 +00:00
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2012-11-15 02:22:44 +00:00
|
|
|
|
|
|
|
public class LiquidContainerData {
|
|
|
|
|
2013-01-22 02:56:04 +00:00
|
|
|
public final LiquidStack stillLiquid;
|
|
|
|
public final ItemStack filled;
|
|
|
|
public final ItemStack container;
|
2012-11-15 02:22:44 +00:00
|
|
|
|
|
|
|
|
2013-01-22 02:56:04 +00:00
|
|
|
public LiquidContainerData(LiquidStack stillLiquid, ItemStack filled, ItemStack container) {
|
|
|
|
this.stillLiquid = stillLiquid;
|
|
|
|
this.filled = filled;
|
|
|
|
this.container = container;
|
2012-11-15 02:22:44 +00:00
|
|
|
|
2013-01-22 02:56:04 +00:00
|
|
|
if(stillLiquid == null || filled == null || container == null)
|
|
|
|
throw new RuntimeException("stillLiquid, filled, or container is null, this is an error");
|
|
|
|
}
|
2012-11-15 02:22:44 +00:00
|
|
|
|
|
|
|
}
|