Package alexiil.mc.lib.attributes.fluid
Class FluidItemUtil
java.lang.Object
alexiil.mc.lib.attributes.fluid.FluidItemUtil
public final class FluidItemUtil
extends java.lang.Object
Various utilities for dealing with fluids contained in single 
ItemStacks.- 
Method Summary
Modifier and Type Method Description static FluidKeygetContainedFluid(net.minecraft.item.ItemStack stack)Retrieves the first fluid contained by the givenItemStack. 
- 
Method Details
- 
getContainedFluid
Retrieves the first fluid contained by the givenItemStack.- Returns:
 - The 
FluidKeyif theItemStackcontained any, orFluidKeys.EMPTYif none were present. 
 
 -