mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
26 lines
634 B
Java
26 lines
634 B
Java
package com.hbm.inventory;
|
|
|
|
import com.hbm.handler.FluidTypeHandler.FluidType;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class FluidContainer {
|
|
|
|
//The full container (e.g. deuterium cell)
|
|
public ItemStack fullContainer;
|
|
//Them empty container (e.g. empty cell)
|
|
public ItemStack emptyContainer;
|
|
//The type of the contained liquid (e.g. deuterium)
|
|
public FluidType type;
|
|
//The amount of liquid stored in mB (e.g. 1000)
|
|
public int content;
|
|
|
|
public FluidContainer(ItemStack full, ItemStack empty, FluidType type, int amount) {
|
|
fullContainer = full;
|
|
emptyContainer = empty;
|
|
this.type = type;
|
|
content = amount;
|
|
}
|
|
|
|
}
|