Here is my codes. I really dont know what should I do
public onItemUse(ItemStack item, EntityPlayer player, World world, int x, int y,int z,int side,float x2,float y2,float z2){
world.setBlock(x, y, z, Main.blocks);
player.setItemInUse(item, 100);
return true;
}