Heres my code for the Gas Block file:
package miner.miner.technicraft.oceans.blocks;
import java.util.Random;
import miner.miner.technicraft.oceans.client.gui.creativetabs.TCOceansCreativeTabs;
import miner.miner.technicraft.oceans.TechnicCraftOceans;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.EntityLiving;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fluids.BlockFluidClassic;
import net.minecraftforge.fluids.BlockFluidFinite;
import net.minecraftforge.fluids.Fluid;
public class BlockGasSteam extends BlockFluidFinite {
public String texture;
public BlockGasSteam(int id, String key, Fluid fluid) {
super(id, fluid, Material.water);
this.texture = key;
this.setCreativeTab(TCOceansCreativeTabs.blocksTab);
fluid.setBlockID(this);
setUnlocalizedName(key);
}
@Override
public void registerIcons(IconRegister register) {
blockIcon = register.registerIcon(TechnicCraftOceans.modID + ":" + texture);
getFluid().setIcons(blockIcon);
}
@Override
public int colorMultiplier(IBlockAccess world, int x, int y, int z) {
return 0xaaaaaa;
}
public void updateTick() {
if (par1World.getBlockId(par2, par3 + 1, par4) == 0 && par3 <= 255)
{
par1World.setBlock(par2, par3 + 1, par4, BlockGasSteam);
par1World.setBlock(par2, par3, par4, 0);
}
}
}
I am getting errors on par1World, par2, par3, par4 then the other par3 and just about everything else! Is there anything I need to change or move? Or do i just need to add ints/variables?