package sobiohazardous.minestrappolation.extraores.block;

import net.minecraft.block.material.Material;
import net.minecraft.entity.Entity;
import net.minecraft.util.DamageSource;
import net.minecraft.world.World;
import sobiohazardous.minestrappolation.api.block.MBlock;
import sobiohazardous.minestrappolation.extraores.lib.EOBlockManager;

public class BlockInvincium extends MBlock{

	public BlockInvincium(int par1, Material par2Material) {
		super(par1, par2Material);
		this.setCreativeTab(EOBlockManager.tabOresBlocks);
	
	}
	
	public void onEntityWalking(World par1World, int par2, int par3, int par4, Entity par5Entity)
    {
        super.onEntityWalking(par1World, par2, par3, par4, par5Entity);
        par5Entity.setFire(15);
    }
	
	 public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
	    {
		 super.onEntityCollidedWithBlock(par1World, par2, par3, par4, par5Entity);
	        par5Entity.setFire(15);
	    }

}
