BiomesOPlenty/common/biomesoplenty/fluids/LiquidPoisonFluid.java

31 lines
623 B
Java
Raw Normal View History

2013-07-09 04:10:57 +00:00
package biomesoplenty.fluids;
2013-06-01 01:43:21 +00:00
import net.minecraft.util.Icon;
import net.minecraftforge.fluids.Fluid;
2013-07-01 00:31:34 +00:00
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
2013-05-31 10:34:02 +00:00
public class LiquidPoisonFluid extends Fluid
{
2013-05-31 10:34:02 +00:00
public LiquidPoisonFluid(String fluidName)
{
super(fluidName);
2013-05-31 10:34:02 +00:00
this.setViscosity(2500);
2013-05-31 10:34:02 +00:00
}
2013-06-01 01:43:21 +00:00
2013-07-01 00:31:34 +00:00
@Override
@SideOnly(Side.CLIENT)
public Icon getStillIcon()
{
2013-06-01 01:43:21 +00:00
return BlockFluidLiquidPoison.liquidPoisonStillIcon;
}
2013-07-01 00:31:34 +00:00
@Override
@SideOnly(Side.CLIENT)
public Icon getFlowingIcon()
{
2013-06-01 01:43:21 +00:00
return BlockFluidLiquidPoison.liquidPoisonFlowingIcon;
}
}